Bagikan melalui


Matrix4x4.CreateFromYawPitchRoll(Single, Single, Single) Metode

Definisi

Membuat matriks rotasi dari yaw, pitch, dan roll yang ditentukan.

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

Parameter

yaw
Single

Sudut rotasi, dalam radian, di sekitar sumbu Y.

pitch
Single

Sudut rotasi, dalam radian, di sekitar sumbu X.

roll
Single

Sudut rotasi, dalam radian, di sekitar sumbu Z.

Mengembalikan

Matriks rotasi.

Berlaku untuk