phaser - v4.0.0-rc.4
    Preparing search index...
    type LayerDataConfig = {
        alpha?: number;
        baseTileHeight?: number;
        baseTileWidth?: number;
        bodies?: any[];
        callbacks?: any[];
        collideIndexes?: any[];
        data?: any[];
        height?: number;
        heightInPixels?: number;
        indexes?: any[];
        name?: string;
        properties?: object[];
        tileHeight?: number;
        tilemapLayer?: TilemapLayer;
        tileWidth?: number;
        visible?: boolean;
        width?: number;
        widthInPixels?: number;
        x?: number;
        y?: number;
    }
    Index

    Properties

    alpha?: number

    The alpha value of the layer.

    baseTileHeight?: number

    The base tile height.

    baseTileWidth?: number

    The base tile width.

    bodies?: any[]

    An array of physics bodies.

    callbacks?: any[]

    An array of callbacks.

    collideIndexes?: any[]

    Tile Collision ID index map.

    data?: any[]

    An array of the tile data indexes.

    height?: number

    The height of the layer in tiles.

    heightInPixels?: number

    The height in pixels of the entire layer.

    indexes?: any[]

    Tile ID index map.

    name?: string

    The name of the layer, if specified in Tiled.

    properties?: object[]

    Layer specific properties (can be specified in Tiled)

    tileHeight?: number

    The pixel height of the tiles.

    tilemapLayer?: TilemapLayer

    A reference to the Tilemap layer that owns this data.

    tileWidth?: number

    The pixel width of the tiles.

    visible?: boolean

    Is the layer visible or not?

    width?: number

    The width of the layer in tiles.

    widthInPixels?: number

    The width in pixels of the entire layer.

    x?: number

    The x offset of where to draw from the top left.

    y?: number

    The y offset of where to draw from the top left.