OptionalappOptionalbackgroundCanvas background color.
OptionalcameraAutomatically apply cameraState resource to rootContainer each frame. Requires the camera plugin to be installed. (default: false)
OptionalcontainerContainer element to append the canvas to (or CSS selector string). Defaults to document.body.
The canvas also auto-resizes to this element unless width/height are set or pixiInit.resizeTo is set explicitly.
OptionalheightFixed canvas height. When set (with width), the canvas is fixed-size and the auto-resize default is suppressed.
OptionalpixiEscape hatch for raw PixiJS ApplicationOptions not otherwise exposed at the top level.
Top-level fields (background, width, height) take precedence when both are set.
OptionalrenderOrdered render layer names (back-to-front). Entities with a renderLayer component are placed in the corresponding container.
OptionalrenderPriority for render sync system (default: 500)
OptionalrootOptional custom root container (defaults to app.stage)
OptionalscreenEnforce a logical design resolution with automatic aspect-ratio-aware scaling. When set, systems work in design-resolution coordinate space.
OptionalscreenRender layers that should not be affected by camera transforms.
These layers are placed outside rootContainer so camera zoom/pan/rotation does not apply.
Only relevant when camera: true. Layer names listed here must also appear in renderLayers.
OptionalstartWhen true, wires up pixiApp.ticker to drive ecs.update() automatically (default: true)
OptionalsystemSystem group name (default: 'renderer2d')
OptionaltransformOptions for the included transform plugin
OptionalwidthFixed canvas width. When set (with height), the canvas is fixed-size and the auto-resize default is suppressed.
Options when letting the plugin create and manage the PixiJS Application