File size: 704 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
25
26
27
28
29
30
31
32
33
import { DirectionalLight } from './../lights/DirectionalLight';
import { Line } from './../objects/Line';
import { Matrix4 } from './../math/Matrix4';
import { Object3D } from './../core/Object3D';
import { ColorRepresentation } from '../utils';

export class DirectionalLightHelper extends Object3D {
	/**
	 * @param light
	 * @param [size=1]
	 * @param color
	 */
	constructor(light: DirectionalLight, size?: number, color?: ColorRepresentation);

	light: DirectionalLight;
	lightPlane: Line;
	targetLine: Line;

	/**
	 * @default undefined
	 */
	color: ColorRepresentation | undefined;
	matrix: Matrix4;

	/**
	 * @default false
	 */
	matrixAutoUpdate: boolean;

	dispose(): void;
	update(): void;
}