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