แก้ไข

แชร์ผ่าน


Matrix4x4.CreateFromQuaternion(Quaternion) Method

Definition

Creates a rotation matrix from the specified Quaternion rotation value.

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

Parameters

quaternion
Quaternion

The source Quaternion.

Returns

The rotation matrix.

Applies to