Skip to content

@relu-interactives/spatial-ecs


@relu-interactives/spatial-ecs / index / createScatterComponent

Function: createScatterComponent() ​

ts
function createScatterComponent(
   world, 
   entityId, ...
   args): ScatterComponent;

Defined in: factories/components/ScatterFactory.ts:4

Parameters ​

ParameterType
worldWorld
entityIdnumber
...args[ScatterOptions]

Returns ​

ScatterComponent