HelperRotationGetQuaternionForEulerDegrees Methode

Berechnet ein Quaternion aus den übergebenen Achsenrotationen (in Grad). (Die Rotationsreihenfolge ist Z -> Y -> X)

Definition

Namensraum: KWEngine3.Helper
Assembly: KWEngine3 (in KWEngine3.dll) Version: 3.0.7.3+f07b5927a6865945f32f848bdf50a2c2724c3fb9
C#
public static Quaternion GetQuaternionForEulerDegrees(
	float x,
	float y,
	float z
)

Parameter

x  Single
x-Achsenrotation (in Grad)
y  Single
y-Achsenrotation (in Grad)
z  Single
z-Achsenrotation (in Grad)

Rückgabewert

Quaternion
Kombinierte Rotation als Quaternion-Instanz

Siehe auch