UNPKG

624 BTypeScriptView Raw
1import { Color } from './../math/Color';
2import { Vector3 } from '../math/Vector3';
3import { Light } from './Light';
4import { ColorRepresentation } from '../utils';
5
6export class HemisphereLight extends Light {
7 /**
8 * @param skyColor
9 * @param groundColor
10 * @param [intensity=1]
11 */
12 constructor(skyColor?: ColorRepresentation, groundColor?: ColorRepresentation, intensity?: number);
13
14 /**
15 * @default 'HemisphereLight'
16 */
17 type: string;
18
19 /**
20 * @default THREE.Object3D.DefaultUp
21 */
22 position: Vector3;
23
24 groundColor: Color;
25
26 readonly isHemisphereLight: true;
27}