Constructors

Properties

coefficients: 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(), new THREE.Vector3()]
isSphericalHarmonics3

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.

    • Optionaloffset: 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

    • Optionalarray: number[]

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

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

    • Optionaloffset: number

      (optional) optional offset into the array-like.

    Returns ArrayLike<number>

    The provided array-like.

  • Parameters

    Returns void