Vector3Accumulator
Class in Zigurous.CameraSystem.Utils
Inherits from ValueAccumulator<T>
Declaration
public sealed class Vector3Accumulator : ValueAccumulator<Vector3>
Description
Accumulates Vector3 values into a single total value.
Properties
defaultValue | Vector3.zero |
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. |