Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 605 Bytes

decentraland-ecs.vector3.normalizefromlength.md

File metadata and controls

20 lines (13 loc) · 605 Bytes

Home > decentraland-ecs > Vector3 > normalizeFromLength

Vector3.normalizeFromLength method

Normalize the current Vector3 with the given input length. Please note that this is an in place operation.

Signature:

normalizeFromLength(len: number): Vector3;

Returns: Vector3

the current updated Vector3

Parameters

Parameter Type Description
len number the length of the vector