to_angles


Description:

[ Version ( since = "1.2" ) ]
public void to_angles (out float deg_x, out float deg_y, out float deg_z)

Converts a Quaternion to its corresponding rotations on the Euler angles on each axis.

Parameters:

this

a Quaternion

deg_x

return location for the rotation angle on the X axis (yaw), in degrees

deg_y

return location for the rotation angle on the Y axis (pitch), in degrees

deg_z

return location for the rotation angle on the Z axis (roll), in degrees