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