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#
public void Add(
	ref AvatarExpression value0,
	ref AvatarExpression value1,
	ref AvatarExpression result
)
Visual Basic
Public Sub Add ( _
	ByRef value0 As AvatarExpression, _
	ByRef value1 As AvatarExpression, _
	ByRef result As AvatarExpression _
)
Visual C++
public:
virtual void Add(
	AvatarExpression% value0, 
	AvatarExpression% value1, 
	AvatarExpression% result
) sealed

Parameters

value0
Type: AvatarExpression%
In: The first value.
value1
Type: AvatarExpression%
In: The second value.
result
Type: AvatarExpression%
Out: The sum value0 + value1.

Implements

IAnimationValueTraits<(Of <(<'T>)>)>..::..Add(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.

Exceptions

ExceptionCondition
System..::..NotSupportedExceptionAvatarExpressions cannot be added.

See Also