Home > decentraland-ecs > Vector3 > normalizeFromLength
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
Parameter | Type | Description |
---|---|---|
len |
number |
the length of the vector |