Phaser API Documentation

  Version: 
resize(width, height)

Description:

Resizes all cameras to the given dimensions.

Parameters:

name type description
width number

The new width of the camera.

height number

The new height of the camera.

Since: 3.2.0