![]() |
![]() |
![]() |
UnsafeNativeMethods.Quaternion.RotationMatrix Method |
Language: |
Builds a quaternion from a rotation matrix.
Visual Basic .NET Public Shared Function RotationMatrix( _
ByVal pOut As Quaternion, _
ByVal pMatrix As Matrix _
) As QuaternionC# public static Quaternion RotationMatrix(
Quaternion pOut,
Matrix pMatrix
);Managed C++ public: static Quaternion RotationMatrix(
Quaternion pOut,
Matrix pMatrix
);JScript .NET public static function RotationMatrix(
pOut : Quaternion,
pMatrix : Matrix
) : Quaternion;
pOut Microsoft.DirectX.Quaternion. A Quaternion structure built from a rotation matrix. pMatrix Microsoft.DirectX.Matrix. Source Matrix structure that defines the rotation.
Microsoft.DirectX.Quaternion . A Quaternion structure built from a rotation matrix.
The return value for this method is the same value returned in the pOut parameter. Resultantly, the RotationMatrix method can be used as a parameter for another method.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center