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