Click or drag to resize
DigitalRuneSrtTransformInterpolate Method (SrtTransform, SrtTransform, Single, SrtTransform)
Interpolates two SRT transforms.

Namespace: DigitalRune.Animation.Character
Assembly: DigitalRune.Animation (in DigitalRune.Animation.dll) Version: 1.4.0.0 (1.4.1.14427)
Syntax
public static void Interpolate(
	ref SrtTransform startTransform,
	ref SrtTransform endTransform,
	float parameter,
	ref SrtTransform result
)

Parameters

startTransform
Type: DigitalRune.Animation.CharacterSrtTransform
The start transform.
endTransform
Type: DigitalRune.Animation.CharacterSrtTransform
The end transform.
parameter
Type: SystemSingle
The interpolation parameter. If the value is 0, the startTransform is returned. If the value is 1, the endTransform is returned. For values between 0 and 1 an interpolated SrtTransform is returned.
result
Type: DigitalRune.Animation.CharacterSrtTransform
The interpolation result.
Remarks
All SRT components are interpolated using a linear interpolation (LERP). Spherical linear interpolation (SLERP) is not used for quaternions.
See Also