Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 499 Bytes

decentraland-ecs.vector3.toquaternion.md

File metadata and controls

13 lines (9 loc) · 499 Bytes

Home > decentraland-ecs > Vector3 > toQuaternion

Vector3.toQuaternion method

Converts the current Vector3 into a quaternion (considering that the Vector3 contains Euler angles representation of a rotation)

Signature:

toQuaternion(): Quaternion;

Returns: Quaternion

a new Quaternion object, computed from the Vector3 coordinates