Phaser API Documentation

  Version: 
<static> IsometricCullTiles(layer, camera, [outputArray], [renderOrder])

Description:

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

Parameters:

name type arguments description
layer Phaser.Tilemaps.LayerData

The Tilemap Layer to act upon.

camera Phaser.Cameras.Scene2D.Camera

The Camera to run the cull check against.

outputArray array <optional>

An optional array to store the Tile objects within.

renderOrder number <optional>

The rendering order constant.

Returns:
Description:

An array of Tile objects.

Type:
Since: 3.50.0