文档

Unity Engine

Unity Engine

EulerYZX(quaternion)

Returns the Euler angle representation of the quaternion following the YZX rotation order. All rotation angles are in radians and clockwise when looking along the rotation axis towards the origin.
阅读时间1 分钟最后更新于 1 个月前

Definition

public static float3 EulerYZX(quaternion q)

Parameters

The quaternion to convert to Euler angles.

Returns

Type

Description

float3The Euler angle representation of the quaternion in YZX order.