Phaser API Documentation

  Version: 
setSkipCull([value])

Description:

You can control if the Cameras should cull tiles before rendering them or not.

By default the camera will try to cull the tiles in this layer, to avoid over-drawing to the renderer.

However, there are some instances when you may wish to disable this.

Parameters:

name type arguments Default description
value boolean <optional> true

Set to true to stop culling tiles. Set to false to enable culling again.

Returns:
Description:

This Tilemap Layer object.

Since: 3.50.0