Click or drag to resize
DigitalRuneSrtTransformInterpolate Method (SrtTransform, SrtTransform, Single)
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 SrtTransform Interpolate(
	SrtTransform startTransform,
	SrtTransform endTransform,
	float parameter
)

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.

Return Value

Type: SrtTransform
An interpolated SRT transform.
Remarks
All SRT components are interpolated using a linear interpolation (LERP). Spherical linear interpolation (SLERP) is not used for quaternions.
See Also