Skip to content

ProcessFixedUpdateSystem

Defined in: ProcessSystem.ts:271

Companion to ProcessSystem for the fixed clock: advances every entity ProcessComponent’s "fixed"-clock processes once per fixed step.

Runs at Phase.FixedUpdate with priority 500 — after the physics step (priority 0), before ComponentFixedUpdateSystem (priority 1000) — so fixed-clock values are fresh when component fixedUpdate(dt) reads them, mirroring ProcessSystem’s position in the update phase.

The dt composition matches ProcessSystem’s frame pass — the owning ProcessSystem’s global timeScale, the scene’s effective scale, and the entity’s timeScale — with the fixed timestep as the base dt.

The system also drains the engine-global and scene-bound fixed pools held by the owning ProcessSystem: the scene pool inside the active-scene loop under the scene’s effective scale, the global pool once per fixed step outside it.

new ProcessFixedUpdateSystem(owner): ProcessFixedUpdateSystem

Defined in: ProcessSystem.ts:277

ProcessSystem

ProcessFixedUpdateSystem

System.constructor

protected context: EngineContext

Defined in: System.ts:22

Reference to the engine context, set on registration.

System.context


enabled: boolean = true

Defined in: System.ts:19

Whether this system is active.

System.enabled


readonly phase: FixedUpdate = Phase.FixedUpdate

Defined in: ProcessSystem.ts:272

The phase this system runs in.

System.phase


readonly priority: 500 = 500

Defined in: ProcessSystem.ts:273

Execution priority within the phase. Lower = earlier. Default: 0.

System.priority

_setContext(context): void

Defined in: System.ts:31

Internal

Set the engine context. Called by SystemScheduler when the system is registered.

EngineContext

void

System._setContext


onRegister(context): void

Defined in: ProcessSystem.ts:281

Called once when the system is registered with the engine.

EngineContext

void

System.onRegister


optional onUnregister(): void

Defined in: System.ts:53

Called when the system is removed.

void

System.onUnregister


update(dt): void

Defined in: ProcessSystem.ts:285

Called every frame (or every fixed step for FixedUpdate).

number

void

System.update


protected use<T>(key): T

Defined in: System.ts:36

Resolve a service by key, cached after first lookup.

T

ServiceKey<T>

T

System.use