ecspresso
    Preparing search index...

    Interface Renderer2DPluginManagedOptions<G>

    Options when letting the plugin create and manage the PixiJS Application

    interface Renderer2DPluginManagedOptions<G extends string = "renderer2d"> {
        app?: undefined;
        camera?: boolean;
        container?: string | HTMLElement;
        init: Partial<ApplicationOptions>;
        renderLayers?: string[];
        renderSyncPriority?: number;
        rootContainer?: Container<ContainerChild>;
        screenScale?: ScreenScaleOptions;
        startLoop?: boolean;
        systemGroup?: G;
        transform?: TransformPluginOptions<"transform">;
    }

    Type Parameters

    • G extends string = "renderer2d"

    Hierarchy

    • Renderer2DPluginCommonOptions<G>
      • Renderer2DPluginManagedOptions
    Index

    Properties

    app?: undefined
    camera?: boolean

    Automatically apply cameraState resource to rootContainer each frame. Requires the camera plugin to be installed. (default: false)

    container?: string | HTMLElement

    Container element to append the canvas to, or CSS selector string

    init: Partial<ApplicationOptions>

    PixiJS ApplicationOptions - plugin will create and initialize the Application

    renderLayers?: string[]

    Ordered render layer names (back-to-front). Entities with a renderLayer component are placed in the corresponding container.

    renderSyncPriority?: number

    Priority for render sync system (default: 500)

    rootContainer?: Container<ContainerChild>

    Optional custom root container (defaults to app.stage)

    screenScale?: ScreenScaleOptions

    Enforce a logical design resolution with automatic aspect-ratio-aware scaling. When set, systems work in design-resolution coordinate space.

    startLoop?: boolean

    When true, wires up pixiApp.ticker to drive ecs.update() automatically (default: true)

    systemGroup?: G

    System group name (default: 'renderer2d')

    transform?: TransformPluginOptions<"transform">

    Options for the included transform plugin