to_radians


Description:

[ Version ( since = "1.2" ) ]
public void to_radians (out float rad_x, out float rad_y, out float rad_z)

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

Parameters:

this

a Quaternion

rad_x

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

rad_y

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

rad_z

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