method three.Vector2.prototype.toArrayRe-exportimport { three } from "https://deno.land/x/remapper@3.0.0/src/deps.ts"; const { Vector2 } = three; toArray(array?: number[], offset?: number): number[]Returns an array [x, y], or copies x and y into the provided array. toArray(array?: Vector2Tuple, offset?: 0): Vector2TupletoArray(array: ArrayLike<number>, offset?: number): ArrayLike<number>Copies x and y into the provided array-like. Returns an array [x, y], or copies x and y into the provided array. Parametersoptionalarray: number[](optional) array to store the vector to. If this is not provided, a new array will be created. optionaloffset: number(optional) optional offset into the array. Returnsnumber[]The created or provided array. Parametersoptionalarray: Vector2Tupleoptionaloffset: 0ReturnsVector2TupleCopies x and y into the provided array-like. Parametersarray: ArrayLike<number>array-like to store the vector to. optionaloffset: number(optional) optional offset into the array. ReturnsArrayLike<number>The provided array-like.