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.3.0+5a1a93710439697f5c5b3a2ecf0170e28863e0a1
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