Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 634 Bytes

decentraland-ecs.vector4.scaletoref.md

File metadata and controls

21 lines (14 loc) · 634 Bytes

Home > decentraland-ecs > Vector4 > scaleToRef

Vector4.scaleToRef method

Sets the given vector "result" with the current Vector4 coordinates multiplied by scale (float).

Signature:

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

Returns: Vector4

the current Vector4.

Parameters

Parameter Type Description
scale number the number to scale with
result Vector4 a vector to store the result in