Home > decentraland-ecs > Vector3 > toQuaternion
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