Επεξεργασία

Κοινή χρήση μέσω


Matrix4x4.CreateFromYawPitchRoll(Single, Single, Single) Method

Definition

Creates a rotation matrix from the specified yaw, pitch, and roll.

public:
 static System::Numerics::Matrix4x4 CreateFromYawPitchRoll(float yaw, float pitch, float roll);
public static System.Numerics.Matrix4x4 CreateFromYawPitchRoll (float yaw, float pitch, float roll);
static member CreateFromYawPitchRoll : single * single * single -> System.Numerics.Matrix4x4
Public Shared Function CreateFromYawPitchRoll (yaw As Single, pitch As Single, roll As Single) As Matrix4x4

Parameters

yaw
Single

The angle of rotation, in radians, around the Y axis.

pitch
Single

The angle of rotation, in radians, around the X axis.

roll
Single

The angle of rotation, in radians, around the Z axis.

Returns

The rotation matrix.

Applies to