Skip to content

CreateLayerOptions

Defined in: renderer/src/RenderLayer.ts:6

Options for creating a layer.

optional eventMode?: EventMode

Defined in: renderer/src/RenderLayer.ts:8

Per-layer override for PixiJS event mode. Falls back to the manager default.


optional sortableChildren?: boolean

Defined in: renderer/src/RenderLayer.ts:10

Whether the container should sort children by their own zIndex.


optional space?: LayerSpace

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

Coordinate space. "world" (default) layers are picked up by cameras spawned without explicit bindings; "screen" layers are skipped so they stay fixed to the viewport. Cameras can still explicitly bind screen-space layers by naming them in bindings.