Phaser API Documentation

  Version: 
JSONCamera
Properties:
name type arguments description
name string

The name of the camera

x number

The horizontal position of camera

y number

The vertical position of camera

width number

The width size of camera

height number

The height size of camera

zoom number

The zoom of camera

rotation number

The rotation of camera

roundPixels boolean

The round pixels st status of camera

scrollX number

The horizontal scroll of camera

scrollY number

The vertical scroll of camera

backgroundColor string

The background color of camera

bounds undefined | Phaser.Types.Cameras.Scene2D.JSONCameraBounds <optional>

The bounds of camera

Type:
object
Since: 3.0.0