Microsoft DirectX 9.0 SDK Update (October 2004)

Matrix.RotateQuaternion Method

Language:

Note: This documentation is preliminary and is subject to change.

Rotates a matrix from a quaternion.

Definition

Visual Basic .NET Public Sub RotateQuaternion( _
    ByVal quat As Quaternion _
)
C# public void RotateQuaternion(
    Quaternion quat
);
Managed C++ public: void RotateQuaternion(
    Quaternion quat
);
JScript .NET 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


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center