| IAnimationValueTraitsTAdd Method |
Adds the given animation values.
Namespace: DigitalRune.Animation.TraitsAssembly: DigitalRune.Animation (in DigitalRune.Animation.dll) Version: 1.4.0.0 (1.4.1.14427)
Syntax void Add(
ref T value0,
ref T value1,
ref T result
)
Sub Add (
ByRef value0 As T,
ByRef value1 As T,
ByRef result As T
)
void Add(
T% value0,
T% value1,
T% result
)
abstract Add :
value0 : 'T byref *
value1 : 'T byref *
result : 'T byref -> unit
Parameters
- value0
- Type: T
In: The first value. - value1
- Type: T
In: The second value. - result
- Type: T
Out: The sum value0 + value1.
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