Quaternion.CreateFromRotationMatrix(Matrix4x4) Method    
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a quaternion from the specified rotation matrix.
public:
 static System::Numerics::Quaternion CreateFromRotationMatrix(System::Numerics::Matrix4x4 matrix);public static System.Numerics.Quaternion CreateFromRotationMatrix(System.Numerics.Matrix4x4 matrix);static member CreateFromRotationMatrix : System.Numerics.Matrix4x4 -> System.Numerics.QuaternionPublic Shared Function CreateFromRotationMatrix (matrix As Matrix4x4) As QuaternionParameters
- matrix
- Matrix4x4
The rotation matrix.
Returns
The newly created quaternion.