Phaser API Documentation

  Version: 
isDirty()

Description:

Checks if the transformation data in this mesh is dirty.

This is used internally by the preUpdate step to determine if the vertices should be recalculated or not.

Returns:
Description:

Returns true if the data of this mesh is dirty, otherwise false.

Type:
  • boolean
Since: 3.50.0