기술 자료

Unity Engine

Unity Engine

EulerZYX(quaternion)

Returns the Euler angle representation of the quaternion following the ZYX rotation order. All rotation angles are in radians and clockwise when looking along the rotation axis towards the origin.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public static float3 EulerZYX(quaternion q)

Parameters

The quaternion to convert to Euler angles.

Returns

Type

Description

float3The Euler angle representation of the quaternion in ZYX order.