Spaces:
Sleeping
Sleeping
File size: 616 Bytes
2b7aae2 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | import { ColorRepresentation } from '../utils';
import { Light } from './Light';
/**
* This light's color gets applied to all the objects in the scene globally.
*
* @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.
* @param [intensity=1]
*/
constructor(color?: ColorRepresentation, intensity?: number);
/**
* @default 'AmbientLight'
*/
type: string;
readonly isAmbientLight: true;
}
|