CreateLayerOptions
Defined in: renderer/src/RenderLayer.ts:6
Options for creating a layer.
Properties
Section titled “Properties”eventMode?
Section titled “eventMode?”
optionaleventMode?:EventMode
Defined in: renderer/src/RenderLayer.ts:8
Per-layer override for PixiJS event mode. Falls back to the manager default.
sortableChildren?
Section titled “sortableChildren?”
optionalsortableChildren?:boolean
Defined in: renderer/src/RenderLayer.ts:10
Whether the container should sort children by their own zIndex.
space?
Section titled “space?”
optionalspace?: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.