web3d / node_modules /three /src /lights /AmbientLight.d.ts
julien-c's picture
julien-c HF staff
do not gitignore the builds
6cd9596
raw
history blame contribute delete
648 Bytes
import { Color } from './../math/Color';
import { Light } from './Light';
/**
* This light's color gets applied to all the objects in the scene globally.
*
* # example
* var light = new THREE.AmbientLight( 0x404040 ); // soft white light
* scene.add( light );
*
* @source https://github.com/mrdoob/three.js/blob/master/src/lights/AmbientLight.js
*/
export class AmbientLight extends Light {
/**
* This creates a Ambientlight with a color.
* @param color Numeric value of the RGB component of the color or a Color instance.
*/
constructor(color?: Color | string | number, intensity?: number);
castShadow: boolean;
}