Home > decentraland-ecs > Quaternion > toEulerAnglesToRef
Sets the given vector3 "result" with the Euler angles translated from the current quaternion
Signature:
toEulerAnglesToRef(result: Vector3, order?: string): Quaternion;
Returns: Quaternion
the current unchanged quaternion
Parameter | Type | Description |
---|---|---|
result |
Vector3 |
defines the vector which will be filled with the Euler angles |
order |
string |
is a reserved parameter and is ignore for now |