Declaration
func QuaternionToEulerAngle(value Quaternion) Vector3
go
Parameters
Input
Name | Type | Description |
---|---|---|
Value | Quaternion | Input quaternion |
Return
Type | Description |
---|---|
Vector3 | The returned Euler angles |
Convert the given quaternion to Euler angles. The rotation order of Euler angles is YXZ. If the passed quaternion is illegal, return (0,0,0)
func QuaternionToEulerAngle(value Quaternion) Vector3
go
Name | Type | Description |
---|---|---|
Value | Quaternion | Input quaternion |
Type | Description |
---|---|
Vector3 | The returned Euler angles |