QuaternionAccumulator

Inherits from ValueAccumulator<T>

Declaration

public sealed class QuaternionAccumulator : ValueAccumulator<Quaternion>

Description

Accumulates Quaternion values into a single total value.

Properties

defaultValueQuaternion.identity

Methods

AddIncreases the accumulated total by a given value.
SubtractDecreases the accumulated total by a given value.
Inherited

Properties

valuesThe stored values with their given identifiers (Read only).
countThe number of unique values being accumulated (Read only).
Inherited

Methods

GetValueReturns the value stored with the specified identifier.
SetValueStores a given value with the specified identifier. The total accumulated value is updated based on the difference between the new and old value.
RemoveValueRemoves the value stored with the given identifier and updates the total accumulated value.
ClearRemoves all stored values and resets the total accumulated value.