QuaternionAccumulator
Class in Zigurous.Architecture
Inherits from ValueAccumulator<T>
Declaration
public sealed class QuaternionAccumulator : ValueAccumulator<Quaternion>
Description
Accumulates Quaternion values into a single total value.
Properties
DefaultValue | The default value of T . |
Methods
Add | Increases the accumulated total by a given value. |
Subtract | Decreases the accumulated total by a given value. |
Inherited
Properties
values | The stored values with their given identifiers (Read only). |
Count | The number of unique values being accumulated (Read only). |
Inherited
Methods
GetValue | Returns the value stored with the specified identifier. |
SetValue | Stores a given value with the specified identifier. The total accumulated value is updated based on the difference between the new and old value. |
RemoveValue | Removes the value stored with the given identifier and updates the total accumulated value. |
Clear | Removes all stored values and resets the total accumulated value. |