Constructors

Properties

coefficients: Vector3[]

Default

[new THREE.Vector3(), new THREE.Vector3(), new THREE.Vector3(), new THREE.Vector3(),
new THREE.Vector3(), new THREE.Vector3(), new THREE.Vector3(), new THREE.Vector3(), new THREE.Vector3()]
isSphericalHarmonics3: true

Methods

  • Returns this

  • Parameters

    Returns boolean

  • Sets the values of this spherical harmonics from the provided array or array-like.

    Parameters

    • array: ArrayLike<number> | number[]

      the source array or array-like.

    • Optional offset: number

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

    Returns this

  • Parameters

    Returns Vector3

  • Parameters

    Returns Vector3

  • 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.

  • Parameters

    Returns void