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.SphericalHarmonics3#toArray

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

Returns an array with the values of this spherical harmonics, or copies them into the provided array.

Parameters

optional
array: number[]

(optional) array to store the spherical harmonics to. If this is not provided, a new array will be created.

optional
offset: number

(optional) optional offset into the array.

Returns

number[]

The created or provided array.

Returns an array with the values of this spherical harmonics, or copies them into the provided array-like.

Parameters

array: ArrayLike<number>

array-like to store the spherical harmonics to.

optional
offset: number

(optional) optional offset into the array-like.

Returns

ArrayLike<number>

The provided array-like.