Phaser API Documentation

  Version: 
dirty: boolean

Description:

Is this Camera dirty?

A dirty Camera has had either its viewport size, bounds, scroll, rotation or zoom levels changed since the last frame.

This flag is cleared during the postRenderCamera method of the renderer.

Type:
boolean
Default: true
Since: 3.11.0