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