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