Matrix4x4.CreateFromQuaternion(Quaternion) Matrix4x4.CreateFromQuaternion(Quaternion) 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

Parameters

quaternion
Quaternion Quaternion Quaternion

The source Quaternion.

Returns

The rotation matrix.

Applies to