UNPKG

lingo3d

Version:

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

13 lines (12 loc) 594 B
import { DirectionalLightHelper, Light, SpotLightHelper } from "three"; import ILightBase from "../../interface/ILightBase"; import ObjectManager from "./ObjectManager"; import { ColorString } from "../../interface/ITexturedStandard"; export default abstract class LightBase<T extends Light> extends ObjectManager<T> implements ILightBase { constructor(light: T, Helper?: typeof DirectionalLightHelper | typeof SpotLightHelper); protected disposeNode(): void; get color(): ColorString; set color(val: ColorString); get intensity(): number; set intensity(val: number); }