Quaternion.RotationMatrix Method |
Language: |
Builds a quaternion from a rotation matrix.
Visual Basic Public Shared Function RotationMatrix( _
ByVal m As Matrix _
) As QuaternionC# public static Quaternion RotationMatrix(
Matrix m
);C++ public:
static Quaternion RotationMatrix(
Matrix m
);JScript public static function RotationMatrix(
m : Matrix
) : Quaternion;
m Microsoft.DirectX.Matrix
Source Matrix structure that defines the rotation.
Microsoft.DirectX.Quaternion
A Quaternion structure built from a rotation matrix.
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center