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.Quaternion
Public Shared Function CreateFromRotationMatrix (matrix As Matrix4x4) As Quaternion
Parameters
- matrix
- Matrix4x4
The rotation matrix.
Returns
The newly created quaternion.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.