Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 689 Bytes

decentraland-ecs.vector3.scaletoref.md

File metadata and controls

21 lines (14 loc) · 689 Bytes

Home > decentraland-ecs > Vector3 > scaleToRef

Vector3.scaleToRef method

Multiplies the current Vector3 coordinates by the float "scale" and stores the result in the given vector "result" coordinates

Signature:

scaleToRef(scale: number, result: Vector3): Vector3;

Returns: Vector3

the current Vector3

Parameters

Parameter Type Description
scale number defines the multiplier factor
result Vector3 defines the Vector3 object where to store the result