UNPKG

@xeokit/xeokit-sdk

Version:

3D BIM IFC Viewer SDK for AEC engineering applications. Open Source JavaScript Toolkit based on pure WebGL for top performance, real-world coordinates and full double precision

30 lines (24 loc) 458 B
import {Component} from '../Component.js'; /** * @desc A dynamic light source within a {@link Scene}. * * These are registered by {@link Light#id} in {@link Scene#lights}. */ class Light extends Component { /** @private */ get type() { return "Light"; } /** * @private */ get isLight() { return true; } constructor(owner, cfg = {}) { super(owner, cfg); } } export {Light};