Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/remapper/src/deps.ts>three.Vector4#fromArray

A framework for Beat Saber map scripting.
Go to Latest
method three.Vector4.prototype.fromArray
Re-export
import { three } from "https://deno.land/x/remapper@2.1.0/src/deps.ts";
const { Vector4 } = three;

Sets this vector's x, y, z and w value from the provided array or array-like.

Parameters

array: number[] | ArrayLike<number>

the source array or array-like.

optional
offset: number

(optional) offset into the array. Default is 0.