Interface BackgroundSystemOptions

Options for the background system.

Memberof

PIXI

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

Hierarchy (view full)

Properties

background?: ColorSource

Alias for PIXI.IRendererOptions.backgroundColor

Memberof

PIXI.IRendererOptions

backgroundAlpha: number

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

Memberof

PIXI.IRendererOptions

backgroundColor: ColorSource

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

Memberof

PIXI.IRendererOptions

clearBeforeRender: boolean

Whether to clear the canvas before new render passes.

Memberof

PIXI.IRendererOptions

Generated using TypeDoc