Phaser API Documentation

  Version: 
<static> RunCull(layer, bounds, renderOrder, outputArray)

Description:

Returns the tiles in the given layer that are within the cameras viewport. This is used internally.

Parameters:

name type description
layer Phaser.Tilemaps.LayerData

The Tilemap Layer to act upon.

bounds object

An object containing the left, right, top and bottom bounds.

renderOrder number

The rendering order constant.

outputArray array

The array to store the Tile objects within.

Returns:
Description:

An array of Tile objects.

Type:
Since: 3.50.0