setFromQuaternion method
q - a normalized quaternion.
order - (optional) a string representing the order that the
rotations are applied.
Sets the angles of this euler transform from a normalized quaternion based
on the orientation specified by order.
Implementation
Euler setFromQuaternion(Quaternion q, [RotationOrders? order, bool update = false]) {
_matrix.makeRotationFromQuaternion(q);
return setFromRotationMatrix(_matrix, order, update);
}