ドキュメント

Unity Engine

Unity Engine

EulerXYZ(quaternion)

Returns the Euler angle representation of the quaternion following the XYZ 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 EulerXYZ(quaternion q)

Parameters

The quaternion to convert to Euler angles.

Returns

Type

Description

float3The Euler angle representation of the quaternion in XYZ order.