Dev - Data Types - Quaternion
Used to represent rotations. Can either be used like Euler angles or like quaternion. Also note the Rotation and Orientation in Unity guide (engine used for Stranded III).
Quaternion Parameters
When methods have quaternion parameters you can pass them in two ways:
-
Vector3
containing Euler angles
-
Vector4
containing a quaternion
Quaternion Return Values
When a method returns a quaternion, it will always (by default, unless otherwise noted) return a Vector3 containing the Euler angles.