rotation

val rotation: Quaternion

The rotation component as a quaternion.

This property extracts the 3x3 rotation matrix from the upper-left portion of the 4x4 matrix and converts it to a quaternion representation. The returned quaternion is normalized.

Return

A normalized quaternion representing the rotation