Adds the given animation values.

Namespace: DigitalRune.Animation.Traits
Assembly: DigitalRune.Animation (in DigitalRune.Animation.dll) Version: 1.1.0.0 (1.1.0.9503)

Syntax

C#
void Add(
	ref T value0,
	ref T value1,
	ref T result
)
Visual Basic
Sub Add ( _
	ByRef value0 As T, _
	ByRef value1 As T, _
	ByRef result As T _
)
Visual C++
void Add(
	T% value0, 
	T% value1, 
	T% result
)

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