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