import { SphericalHarmonics3 } from "https://deno.land/x/threejs_4_deno@v121/src/math/SphericalHarmonics3.d.ts";
Properties
coefficients: Vector3[]
Methods
addScaledSH(sh: SphericalHarmonics3, s: number): SphericalHarmonics3
equals(sh: SphericalHarmonics3): boolean
fromArray(array: number[], offset?: number): this
Sets the values of this spherical harmonics from the provided array.
fromArray(array: ArrayLike<number>, offset?: number): this
Sets the values of this spherical harmonics from the provided array-like.
getIrradianceAt(normal: Vector3, target: Vector3): Vector3
lerp(sh: SphericalHarmonics3, alpha: number): SphericalHarmonics3
scale(s: number): SphericalHarmonics3
set(coefficients: Vector3[]): SphericalHarmonics3
toArray(array?: number[], offset?: number): number[]
Returns an array with the values of this spherical harmonics, or copies them into the provided array.
toArray(array: ArrayLike<number>, offset?: number): ArrayLike<number>
Returns an array with the values of this spherical harmonics, or copies them into the provided array-like.
Static Methods
getBasisAt(normal: Vector3, shBasis: number[]): void