Strutture
Rotator
Contenitore delle informazioni di rotazione (Pitch, Yaw, Roll). Tutti i valori sono espressi in gradi.
Mostra l'originale in inglese
A container for rotation information (Pitch, Yaw, Roll). All rotation values are stored in degrees.
18 propri
Costruttori 1
Proprietà 3
- Pitch Rotation around the right axis (around Y axis), Looking up and down (0=Straight Ahead, +Up, -Down)
- Roll Rotation around the forward axis (around X axis), Tilting your head, 0=Straight, +Clockwise, -CCW.
- Yaw Rotation around the up axis (around Z axis), Running in circles 0=East, +North, -South.
Funzioni statiche 1
Funzioni 10
- GetForwardVector Get the forward (X) unit direction vector from this component, in world space.
- GetNormalized Returns a new Rotator normalized.
- GetRightVector Get the right (Y) unit direction vector from this component, in world space.
- GetUpVector Get the up (Z) unit direction vector from this component, in world space.
- IsNearlyZero Checks whether rotator is near to zero within a specified tolerance
- IsZero Checks whether all components of the rotator are exactly zero
- Normalize In-place normalize, removes all winding and creates the “shortest route” rotation.
- Quaternion Get Rotation as a quaternion.
- RotateVector Rotate a vector rotated by this rotator.
- UnrotateVector Returns the vector rotated by the inverse of this rotator.