phaser - v4.0.0-rc.4
    Preparing search index...
    • Returns the tiles in the given layer that are within the cameras viewport. This is used internally.

      Parameters

      • layer: LayerData

        The Tilemap Layer to act upon.

      • camera: Cameras.Scene2D.Camera

        The Camera to run the cull check against.

      • OptionaloutputArray: any[]

        An optional array to store the Tile objects within.

      • OptionalrenderOrder: number

        The rendering order constant. Default 0.

      Returns Tile[]