Quaternion.toAngleVec3

Converts a quaternion into an @angle, @axis pair.

class Quaternion
void
toAngleVec3
(
out float angle
,)

Parameters

angle float

return location for the angle, in degrees

axis Vec3

return location for the rotation axis

Meta