UNPKG

@inweb/viewer-three

Version:

JavaScript library for rendering CAD and BIM files in a browser using Three.js

14 lines (13 loc) 522 B
import { AmbientLight, DirectionalLight, HemisphereLight } from "three"; import { IComponent } from "@inweb/viewer-core"; import type { Viewer } from "../Viewer"; export declare class LightComponent implements IComponent { protected viewer: Viewer; protected ambientLight: AmbientLight; protected directionalLight: DirectionalLight; protected frontLight: DirectionalLight; protected hemisphereLight: HemisphereLight; constructor(viewer: Viewer); dispose(): void; geometryEnd: () => void; }