Quaternion.CreateFromRotationMatrix(Matrix4x4) Quaternion.CreateFromRotationMatrix(Matrix4x4) Quaternion.CreateFromRotationMatrix(Matrix4x4) Quaternion.CreateFromRotationMatrix(Matrix4x4) Method

定義

從指定的旋轉矩陣建立四元數。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

參數

matrix
Matrix4x4 Matrix4x4 Matrix4x4 Matrix4x4

旋轉矩陣。The rotation matrix.

傳回

新建立的四元數。The newly created quaternion.

適用於