Phaser API Documentation

  Version: 
updateOrientation()

Description:

Internal method that checks the current screen orientation, only if the internal check flag is set.

If the orientation has changed it updates the orientation property and then dispatches the orientation change event.

Since: 3.16.0