Quaternion.RotationMatrix(Matrix) Method (Microsoft.DirectX)
Builds a quaternion from a rotation matrix.
Definition
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;
Parameters
m Microsoft.DirectX.Matrix
Source Matrix structure that defines the rotation.
Return Value
Microsoft.DirectX.Quaternion
A Quaternion structure built from a rotation matrix.
See Also