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