Vector4Accumulator
Class in Zigurous.Architecture
Inherits from ValueAccumulator<T>
Declaration
public sealed class Vector4Accumulator : ValueAccumulator<Vector4>
Description
Accumulates Vector4 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. |