Click or drag to resize

QuaternionSlerp Method (Quaternion, Double)

Spherical interpolation between this Quaternion and another Quaternion

This is most commonly used to find an intermediate rotation between between a start and an end rotation. When t = 0 returns this. When t = 1 returns b. When t = 0.5 returns a rotation "midway" between this and b.

Namespace:  Microsoft.DirectX
Assembly:  Demo3D.Common (in Demo3D.Common.dll) Version: 15.0.2.11458
Syntax
C#
public Quaternion Slerp(
	Quaternion b,
	double t
)

Parameters

b
Type: Microsoft.DirectXQuaternion
End Quaternion
t
Type: SystemDouble
Interpolant

Return Value

Type: Quaternion
Interpolated Quaternion
See Also