@relu-interactives/spatial-ecs
@relu-interactives/spatial-ecs / index / createLightComponent
Function: createLightComponent()
ts
function createLightComponent(
world,
entityId, ...
args): LightComponent;Defined in: factories/components/LightFactory.ts:4
Parameters
| Parameter | Type |
|---|---|
world | World |
entityId | number |
...args | [Light<LightShadow<Camera> | undefined>] |

