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

x/threejs_4_deno/src/math/Matrix3.js>Matrix3#fromArray

A simple transformation of three.js for use within a Deno workflow
Go to Latest
method Matrix3.prototype.fromArray
import { Matrix3 } from "https://deno.land/x/threejs_4_deno@v121/src/math/Matrix3.js";

Sets the values of this matrix from the provided array.

Parameters

array: number[]

the source array.

optional
offset: number

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

Sets the values of this matrix from the provided array-like.

Parameters

array: ArrayLike<number>

the source array-like.

optional
offset: number

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