Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


EulerZXY(quaternion)

Returns the Euler angle representation of the quaternion following the ZXY rotation order. All rotation angles are in radians and clockwise when looking along the rotation axis towards the origin.
Read time 1 minuteLast updated 4 days ago

Definition

public static float3 EulerZXY(quaternion q)

Parameters

The quaternion to convert to Euler angles.

Returns

Type

Description

float3The Euler angle representation of the quaternion in ZXY order.