| QuaternionFTraitsInterpolate Method |
Performs a linear interpolation between two animation values.
Namespace: DigitalRune.Animation.TraitsAssembly: DigitalRune.Animation (in DigitalRune.Animation.dll) Version: 1.4.0.0 (1.4.1.14427)
Syntax public void Interpolate(
ref QuaternionF source,
ref QuaternionF target,
float parameter,
ref QuaternionF result
)
Public Sub Interpolate (
ByRef source As QuaternionF,
ByRef target As QuaternionF,
parameter As Single,
ByRef result As QuaternionF
)
public:
virtual void Interpolate(
QuaternionF% source,
QuaternionF% target,
float parameter,
QuaternionF% result
) sealed
abstract Interpolate :
source : QuaternionF byref *
target : QuaternionF byref *
parameter : float32 *
result : QuaternionF byref -> unit
override Interpolate :
source : QuaternionF byref *
target : QuaternionF byref *
parameter : float32 *
result : QuaternionF byref -> unit
Parameters
- source
- Type: DigitalRune.Mathematics.AlgebraQuaternionF
In: The source value. - target
- Type: DigitalRune.Mathematics.AlgebraQuaternionF
In: The target value. - parameter
- Type: SystemSingle
The interpolation parameter; also known as interpolation factor or weight of the
target value.
- result
- Type: DigitalRune.Mathematics.AlgebraQuaternionF
Out: The result of the interpolation.
Implements
IAnimationValueTraitsTInterpolate(T, T, Single, T)See Also