UNPKG

playcanvas

Version:

Open-source WebGL/WebGPU 3D engine for the web

19 lines (18 loc) 645 B
/** * A Light Component is used to dynamically light the scene. * * @category Graphics */ export class LightComponentSystem extends ComponentSystem { id: string; ComponentType: typeof LightComponent; DataType: typeof LightComponentData; schema: string[]; initializeComponentData(component: any, _data: any): void; _onRemoveComponent(entity: any, component: any): void; cloneComponent(entity: any, clone: any): Component; } import { ComponentSystem } from '../system.js'; import { LightComponent } from './component.js'; import { LightComponentData } from './data.js'; import { Component } from '../component.js';