Class SphericalHarmonics3

Hierarchy

  • SphericalHarmonics3

Constructors

Properties

coefficients: THREE.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

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

    Parameters

    • array: number[] | ArrayLike<number>

      the source array or array-like.

    • Optional offset: number

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

    Returns SphericalHarmonics3

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

    Returns

    The created or 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[]

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

    Returns

    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>

  • Parameters

    Returns void

Generated using TypeDoc