SphericalHarmonics3

THREE.SphericalHarmonics3
See theSphericalHarmonics3 companion object
class SphericalHarmonics3 extends Object

A class for storing spherical harmonics.

Spherical harmonics are an extension of Spherical coordinates to the sphere, and are particularly useful for representing some types of directional data.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Any
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def add(sh: SphericalHarmonics3): this.type
def addScaledSH(sh: SphericalHarmonics3, scale: Double): this.type
def copy(sh: SphericalHarmonics3): this.type
def equals(sh: SphericalHarmonics3): Boolean
def fromArray(array: Array[Double], offset: Int): this.type
def getAt(normal: Vector3, target: Vector3): Vector3
def getIrradianceAt(normal: Vector3, target: Vector3): Vector3
def lerp(sh: SphericalHarmonics3, alpha: Double): this.type
def scale(scale: Double): this.type
def set(coefficients: Array[Vector3]): this.type
def toArray(array: Array[Double], offset: Int): Array[Double]
def zero(): this.type

Inherited methods

def hasOwnProperty(v: String): Boolean

Attributes

Inherited from:
Object
def isPrototypeOf(v: Object): Boolean

Attributes

Inherited from:
Object
def propertyIsEnumerable(v: String): Boolean

Attributes

Inherited from:
Object
def toLocaleString(): String

Attributes

Inherited from:
Object
def valueOf(): Any

Attributes

Inherited from:
Object

Concrete fields

var coefficients: Array[Vector3]

Spherical harmonics coefficients.

Spherical harmonics coefficients.

Attributes

val isSphericalHarmonics3: Boolean

Whether this instance has been set up.

Whether this instance has been set up.

Attributes