Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 632 Bytes

decentraland-ecs.vector3.fromarray.md

File metadata and controls

21 lines (14 loc) · 632 Bytes

Home > decentraland-ecs > Vector3 > FromArray

Vector3.FromArray method

Returns a new Vector3 set from the index "offset" of the given array

Signature:

static FromArray(array: ArrayLike<number>, offset?: number): Vector3;

Returns: Vector3

the new Vector3

Parameters

Parameter Type Description
array ArrayLike<number> defines the source array
offset number defines the offset in the source array