Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 603 Bytes

decentraland-ecs.vector3.rotatetoref.md

File metadata and controls

19 lines (13 loc) · 603 Bytes

Home > decentraland-ecs > Vector3 > rotateToRef

Vector3.rotateToRef method

Rotates current Vector3 based on the given quaternion, but applies the rotation to target Vector3.

Signature:

rotateToRef(q: Quaternion, target: Vector3): void;

Returns: void

Parameters

Parameter Type Description
q Quaternion defines the Quaternion
target Vector3 defines the target Vector3