Bagikan melalui


Matrix4x4.CreateFromQuaternion(Quaternion) Metode

Definisi

Membuat matriks rotasi dari nilai rotasi Quaternion yang ditentukan.

public:
 static System::Numerics::Matrix4x4 CreateFromQuaternion(System::Numerics::Quaternion quaternion);
public static System.Numerics.Matrix4x4 CreateFromQuaternion (System.Numerics.Quaternion quaternion);
static member CreateFromQuaternion : System.Numerics.Quaternion -> System.Numerics.Matrix4x4
Public Shared Function CreateFromQuaternion (quaternion As Quaternion) As Matrix4x4

Parameter

quaternion
Quaternion

Sumber Quaternion.

Mengembalikan

Matriks rotasi.

Berlaku untuk