Sdílet prostřednictvím


Quaternion.CreateFromYawPitchRoll(Single, Single, Single) Metoda

Definice

Vytvoří novou kvaternii z daného yaw, pitch, a roll.

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

Parametry

yaw
Single

Úhel otáčení, v radiánech, kolem osy Y.

pitch
Single

Úhel sklonu v radiánech kolem osy X.

roll
Single

Úhel otáčení v radiánech kolem osy Z.

Návraty

Výsledná kvaternion.

Platí pro