UNPKG

lingo3d

Version:

Lingo3D is a React/Vue 3d game development framework that ships with a complete visual editor

21 lines (20 loc) 827 B
import { Sphere, SpotLightHelper, PointLight as ThreePointLight, SpotLight as ThreeSpotLight } from "three"; import IPointLightBase from "../../interface/IPointLightBase"; import LightBase from "./LightBase"; export default abstract class PointLightBase<T extends ThreePointLight | ThreeSpotLight = ThreePointLight> extends LightBase<T> implements IPointLightBase { constructor(light: T, helper?: typeof SpotLightHelper); protected disposeNode(): void; private renderCheckBox?; get isRendered(): boolean; $boundingSphere: Sphere; get distance(): number; set distance(val: number); get shadows(): boolean; set shadows(val: boolean); private _intensity; get intensity(): number; set intensity(val: number); private _fade; get fade(): boolean; set fade(val: boolean); }