Returns the tiles in the given layer that are within the cameras viewport. This is used internally.
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. |
An array of Tile objects.