| SrtTransformTraitsInterpolate 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 SrtTransform source,
ref SrtTransform target,
float parameter,
ref SrtTransform result
)
Public Sub Interpolate (
ByRef source As SrtTransform,
ByRef target As SrtTransform,
parameter As Single,
ByRef result As SrtTransform
)
public:
virtual void Interpolate(
SrtTransform% source,
SrtTransform% target,
float parameter,
SrtTransform% result
) sealed
abstract Interpolate :
source : SrtTransform byref *
target : SrtTransform byref *
parameter : float32 *
result : SrtTransform byref -> unit
override Interpolate :
source : SrtTransform byref *
target : SrtTransform byref *
parameter : float32 *
result : SrtTransform byref -> unit
Parameters
- source
- Type: DigitalRune.Animation.CharacterSrtTransform
In: The source value. - target
- Type: DigitalRune.Animation.CharacterSrtTransform
In: The target value. - parameter
- Type: SystemSingle
The interpolation parameter; also known as interpolation factor or weight of the
target value.
- result
- Type: DigitalRune.Animation.CharacterSrtTransform
Out: The result of the interpolation.
Implements
IAnimationValueTraitsTInterpolate(T, T, Single, T)See Also