pixi.js
    Preparing search index...

    Interface BackgroundSystemOptionsAdvanced

    Options for the background system.

    interface BackgroundSystemOptions {
        background?: ColorSource;
        backgroundAlpha?: number;
        backgroundColor: ColorSource;
        clearBeforeRender?: boolean;
    }
    Index

    Properties

    background?: ColorSource

    Alias for backgroundColor

    backgroundAlpha?: number

    Transparency of the background color, value from 0 (fully transparent) to 1 (fully opaque).

    1
    
    backgroundColor: ColorSource

    The background color used to clear the canvas. See ColorSource for accepted color values.

    'black'
    
    clearBeforeRender?: boolean

    Whether to clear the canvas before new render passes.

    true