@relu-interactives/spatial-ecs
@relu-interactives/spatial-ecs / index / createOccluderComponent
Function: createOccluderComponent() ​
ts
function createOccluderComponent(
world,
entityId, ...
args): OccluderComponent;Defined in: factories/components/OccluderFactory.ts:4
Parameters ​
| Parameter | Type |
|---|---|
world | World |
entityId | number |
...args | [Partial<Pick<OccluderComponent, "enabled" | "inset">>] |

