Home > decentraland-ecs > Vector3 > FromFloatArrayToRef
Sets the given vector "result" with the element values from the index "offset" of the given FloatArray This function is deprecated. Use FromArrayToRef instead.
Signature:
static FromFloatArrayToRef(array: FloatArray, offset: number, result: Vector3): void;
Returns: void
Parameter | Type | Description |
---|---|---|
array |
FloatArray |
defines the source array |
offset |
number |
defines the offset in the source array |
result |
Vector3 |
defines the Vector3 where to store the result |