ערוך

שתף באמצעות


Quaternion.CreateFromRotationMatrix(Matrix4x4) Method

Definition

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