threepipe
Version:
A modern 3D viewer framework built on top of three.js, written in TypeScript, designed to make creating high-quality, modular, and extensible 3D experiences on the web simple and enjoyable.
23 lines • 918 B
TypeScript
import { ColorRepresentation, DirectionalLight, Object3D } from 'three';
import { Line2 } from 'three/examples/jsm/lines/Line2.js';
import { ALightHelperWidget } from './ALightHelperWidget';
import { IUiConfigContainer } from 'uiconfig.js';
import { LineMaterial2 } from '../../core';
export declare class DirectionalLightHelper2 extends ALightHelperWidget {
color: ColorRepresentation | undefined;
lightPlane: Line2;
targetLine: Line2;
light: (DirectionalLight & IUiConfigContainer) | undefined;
material: LineMaterial2;
lineWidth: number;
size: number;
constructor(light: DirectionalLight, size?: number, color?: ColorRepresentation);
dispose(): void;
private _v1;
private _v2;
private _v3;
update(): void;
static Check(light: Object3D): true;
static Create(light: Object3D): DirectionalLightHelper2;
}
//# sourceMappingURL=DirectionalLightHelper2.d.ts.map