Quaternion.Squad(Quaternion,Quaternion,Quaternion,Quaternion,Single) Method (Microsoft.DirectX)
Interpolates between quaternions, using spherical quadrangle interpolation.
Definition
Visual Basic Public Shared Function Squad( _
ByVal q1 As Quaternion, _
ByVal a As Quaternion, _
ByVal b As Quaternion, _
ByVal c As Quaternion, _
ByVal t As Single _
) As QuaternionC# public static Quaternion Squad(
Quaternion q1,
Quaternion a,
Quaternion b,
Quaternion c,
float t
);C++ public:
static Quaternion Squad(
Quaternion q1,
Quaternion a,
Quaternion b,
Quaternion c,
float t
);JScript public static function Squad(
q1 : Quaternion,
a : Quaternion,
b : Quaternion,
c : Quaternion,
t : float
) : Quaternion;
Parameters
q1 Microsoft.DirectX.Quaternion
Source Quaternion structure.a Microsoft.DirectX.Quaternion
Source Quaternion structure.b Microsoft.DirectX.Quaternion
Source Quaternion structure.c Microsoft.DirectX.Quaternion
Source Quaternion structure.t System.Single
A Single value that indicates how far to interpolate between the quaternions.
Return Value
Microsoft.DirectX.Quaternion
A Quaternion structure that is the result of the spherical quadrangle interpolation.
Remarks
This method uses the following sequence of spherical linear interpolation operations.
Slerp(Slerp(q1, c, t), Slerp(a, b, t), 2t(1 - t))