three
Version:
JavaScript 3D library
23 lines (15 loc) • 414 B
TypeScript
import { SphericalHarmonics3 } from './../math/SphericalHarmonics3';
import { Light } from './Light';
export class LightProbe extends Light {
constructor( sh?: SphericalHarmonics3, intensity?: number );
/**
* @default 'LightProbe'
*/
type: string;
readonly isLightProbe: true;
/**
* @default new THREE.SphericalHarmonics3()
*/
sh: SphericalHarmonics3;
fromJSON( json: object ): LightProbe;
}