UNPKG

764 BTypeScriptView Raw
1import { DirectionalLight } from './../lights/DirectionalLight';
2import { Line } from './../objects/Line';
3import { Matrix4 } from './../math/Matrix4';
4import { Object3D } from './../core/Object3D';
5import { ColorRepresentation } from '../utils';
6
7export class DirectionalLightHelper extends Object3D {
8 /**
9 * @param light
10 * @param [size=1]
11 * @param color
12 */
13 constructor(light: DirectionalLight, size?: number, color?: ColorRepresentation);
14
15 light: DirectionalLight;
16 lightPlane: Line;
17 targetLine: Line;
18
19 /**
20 * @default undefined
21 */
22 color: ColorRepresentation | undefined;
23 matrix: Matrix4;
24
25 /**
26 * @default false
27 */
28 matrixAutoUpdate: boolean;
29
30 dispose(): void;
31 update(): void;
32}