Phaser API Documentation

  Version: 
CameraFadeCallback(camera, progress)

Parameters:

name type description
camera Phaser.Cameras.Scene2D.Camera

The camera on which the effect is running.

progress number

The progress of the effect. A value between 0 and 1.

Type:
function
Since: 3.5.0