starry / backend /libs /three /helpers /DirectionalLightHelper.d.ts
k-l-lambda's picture
feat: add Python ML services (CPU mode) with model download
2b7aae2
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;
}