Returns the tiles in the given layer that are within the cameras viewport. This is used internally during rendering.
name | type | arguments | description |
---|---|---|---|
camera | Phaser.Cameras.Scene2D.Camera | <optional> |
The Camera to run the cull check against. |
An array of Tile objects to render.