Phaser API Documentation

  Version: 
setScene(scene)

Description:

Sets the Scene the Camera is bound to.

Parameters:

name type description
scene Phaser.Scene

The Scene the camera is bound to.

Returns:
Description:

This Camera instance.

Since: 3.0.0