Skip to content

@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 ​

ParameterType
worldWorld
entityIdnumber
...args[Partial<Pick<OccluderComponent, "enabled" | "inset">>]

Returns ​

OccluderComponent