Skip to content

DisplaySystem

Defined in: renderer/src/DisplaySystem.ts:17

Syncs Transform components to PixiJS display objects and applies camera-based per-layer transforms. Each scene’s CameraEntity bindings determine which layers receive the camera transform; unbound layers stay at identity (screen-space behavior).

  • System

new DisplaySystem(): DisplaySystem

DisplaySystem

System.constructor

protected context: EngineContext

Defined in: core/dist/index.d.ts:1276

Reference to the engine context, set on registration.

System.context


enabled: boolean

Defined in: core/dist/index.d.ts:1274

Whether this system is active.

System.enabled


readonly phase: Render = Phase.Render

Defined in: renderer/src/DisplaySystem.ts:18

The phase this system runs in.

System.phase


readonly priority: 0 = 0

Defined in: renderer/src/DisplaySystem.ts:19

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

System.priority

_setContext(context): void

Defined in: core/dist/index.d.ts:1282

Internal

Set the engine context. Called by Engine during startup.

EngineContext

void

System._setContext


onRegister(context): void

Defined in: renderer/src/DisplaySystem.ts:27

Called once when the system is registered with the engine.

EngineContext

void

System.onRegister


optional onUnregister(): void

Defined in: core/dist/index.d.ts:1290

Called when the system is removed.

void

System.onUnregister


update(): void

Defined in: renderer/src/DisplaySystem.ts:39

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

void

System.update


protected use<T>(key): T

Defined in: core/dist/index.d.ts:1284

Resolve a service by key, cached after first lookup.

T

ServiceKey<T>

T

System.use