| Vector4FTraitsInterpolate 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 Vector4F source,
ref Vector4F target,
float parameter,
ref Vector4F result
)
Public Sub Interpolate (
ByRef source As Vector4F,
ByRef target As Vector4F,
parameter As Single,
ByRef result As Vector4F
)
public:
virtual void Interpolate(
Vector4F% source,
Vector4F% target,
float parameter,
Vector4F% result
) sealed
abstract Interpolate :
source : Vector4F byref *
target : Vector4F byref *
parameter : float32 *
result : Vector4F byref -> unit
override Interpolate :
source : Vector4F byref *
target : Vector4F byref *
parameter : float32 *
result : Vector4F byref -> unit
Parameters
- source
- Type: DigitalRune.Mathematics.AlgebraVector4F
In: The source value. - target
- Type: DigitalRune.Mathematics.AlgebraVector4F
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.AlgebraVector4F
Out: The result of the interpolation.
Implements
IAnimationValueTraitsTInterpolate(T, T, Single, T)See Also