Phaser API Documentation

  Version: 
CameraZoomCallback(camera, progress, zoom)

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.

zoom number

The Camera's new zoom value.

Type:
function
Since: 3.11.0