Pre-initialized: Pass an already-initialized Application via app
Managed: Omit app and the plugin creates the Application during ecs.initialize().
The canvas is appended to container (defaults to document.body) and auto-resizes to
match it. Pass pixiInit: { width, height } for a fixed-size canvas instead.
This plugin includes transform propagation automatically - no need to add createTransformPlugin() separately.
Configuration options for the 2D renderer plugin.
Supports two modes:
appappand the plugin creates the Application duringecs.initialize(). The canvas is appended tocontainer(defaults todocument.body) and auto-resizes to match it. PasspixiInit: { width, height }for a fixed-size canvas instead.This plugin includes transform propagation automatically - no need to add createTransformPlugin() separately.