| Vector3TraitsAdd 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 public void Add(
ref Vector3 value0,
ref Vector3 value1,
ref Vector3 result
)
Public Sub Add (
ByRef value0 As Vector3,
ByRef value1 As Vector3,
ByRef result As Vector3
)
public:
virtual void Add(
Vector3% value0,
Vector3% value1,
Vector3% result
) sealed
abstract Add :
value0 : Vector3 byref *
value1 : Vector3 byref *
result : Vector3 byref -> unit
override Add :
value0 : Vector3 byref *
value1 : Vector3 byref *
result : Vector3 byref -> unit
Parameters
- value0
- Type: Vector3
In: The first value. - value1
- Type: Vector3
In: The second value. - result
- Type: Vector3
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