Euler angles. Unlike a
, Euler angles can represent multiple revolutions (rotations) around an axis,
but suffer from issues like gimbal lock and lack of a defined "up" vector. Use
for most cases.
AsVector3 |
Return as a Vector3, where x = pitch etc |
Clamped |
Returns clamped version of this object, meaning the angle on each axis is transformed to range of [0,360). |
IsNearlyZero |
Returns true if this angles object's components are all nearly zero with given tolerance. |
LerpTo |
Performs linear interpolation on the two given angle objects. |
SnapToGrid |
Snap to grid |
ToRotation |
Converts these Euler angles to a rotation. The angles will be normalized. |
WithPitch |
Returns this angles object with given pitch component. |
WithRoll |
Returns this angles object with given roll component. |
WithYaw |
Returns this angles object with given yaw component. |