Share via


Matrix.RotateQuaternion(Quaternion) Method (Microsoft.DirectX)

Rotates a matrix from a quaternion.

Definition

Visual Basic Public Sub RotateQuaternion( _
    ByVal quat As Quaternion _
)
C# public void RotateQuaternion(
    Quaternion quat
);
C++ public:
void RotateQuaternion(
    Quaternion quat
);
JScript public function RotateQuaternion(
    quat : Quaternion
);

Parameters

quat Microsoft.DirectX.Quaternion
Source Quaternion structure that defines the rotation.

Remarks

For information about how to calculate quaternion values from a direction vector ( x, y, z ) and an angle of rotation, see Quaternion.

See Also