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