systemSet
systemSet(
name):SystemSet
Defined in: scheduler/system.ts:155
Creates a system set — a named group that systems can belong to.
System sets let you apply shared ordering constraints and run conditions to multiple systems at once, rather than configuring each system individually.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”Remarks
Section titled “Remarks”A system set is just a label. Configuration (ordering, run conditions) is applied separately per schedule via Scheduler.configureSet.
Example
Section titled “Example”const physics = systemSet('physics')const rendering = systemSet('rendering')
scheduler() .configureSet('update', rendering, { after: physics }) .useSystem('update', applyForces, { inSet: physics }) .useSystem('update', resolveCollisions, { inSet: physics }) .useSystem('update', drawWorld, { inSet: rendering }) .run()