Bagikan melalui


Quaternion.CreateFromYawPitchRoll(Single, Single, Single) Metode

Definisi

Membuat quaternion baru dari yaw, pitch, dan roll yang diberikan.

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

Parameter

yaw
Single

Sudut yaw, dalam radian, di sekitar sumbu Y.

pitch
Single

Sudut nada, dalam radian, di sekitar sumbu X.

roll
Single

Sudut gulung, dalam radian, di sekitar sumbu Z.

Mengembalikan

Kuaternion yang dihasilkan.

Berlaku untuk