Click or drag to resize
DigitalRuneQuaternionFTraitsAdd Method
Adds the given animation values.

Namespace: DigitalRune.Animation.Traits
Assembly: DigitalRune.Animation (in DigitalRune.Animation.dll) Version: 1.4.0.0 (1.4.1.14427)
Syntax
public void Add(
	ref QuaternionF value0,
	ref QuaternionF value1,
	ref QuaternionF result
)

Parameters

value0
Type: DigitalRune.Mathematics.AlgebraQuaternionF
In: The first value.
value1
Type: DigitalRune.Mathematics.AlgebraQuaternionF
In: The second value.
result
Type: DigitalRune.Mathematics.AlgebraQuaternionF
Out: The sum value0 + value1.

Implements

IAnimationValueTraitsTAdd(T, T, T)
Remarks
For some types the add operation is not commutative. This is the case if value0 and value1 represent transformations. In this case this method returns a combined transformation where value0 is applied before value1.
See Also