Home
News
Learn
Download
Examples
Community
Login
Phaser API Documentation
Version:
Namespaces
Classes
Events
Game Objects
Physics
Scenes
Changelog
Phaser
.
Types
.
Cameras
.
Scene2D
.
CameraFadeCallback
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
Source:
src/cameras/2d/typedefs/CameraFadeCallback.js
(Line
1
)