phaser - v4.0.0-rc.4
    Preparing search index...

    Type Alias ObjectLayerConfig

    type ObjectLayerConfig = {
        name?: string;
        objects?: any[];
        opacity?: number;
        properties?: any;
        propertytypes?: any;
        type?: string;
        visible?: boolean;
    }
    Index

    Properties

    name?: string

    The name of the Object Layer.

    objects?: any[]

    An array of all objects on this Object Layer.

    opacity?: number

    The opacity of the layer, between 0 and 1.

    properties?: any

    The custom properties defined on the Object Layer, keyed by their name.

    propertytypes?: any

    The type of each custom property defined on the Object Layer, keyed by its name.

    type?: string

    The type of the layer, which should be objectgroup.

    visible?: boolean

    Whether the layer is shown (true) or hidden (false).