UNPKG

xeokit-viewer

Version:

BIM viewer built on xeokit and Bootstrap

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};