Phaser.Types.Cameras.Scene2D

Scope: static

Source: src/cameras/2d/typedefs/index.js#L7

Typedefs:

Public Members

CameraConfig

CameraConfig

Source: src/cameras/2d/typedefs/CameraConfig.js#L1
Since: 3.0.0


CameraFadeCallback

CameraFadeCallback

Parameters:

nametypeoptionaldescription
cameraPhaser.Cameras.Scene2D.CameraNoThe camera on which the effect is running.
progressnumberNoThe progress of the effect. A value between 0 and 1.

Source: src/cameras/2d/typedefs/CameraFadeCallback.js#L1
Since: 3.5.0


CameraFlashCallback

CameraFlashCallback

Parameters:

nametypeoptionaldescription
cameraPhaser.Cameras.Scene2D.CameraNoThe camera on which the effect is running.
progressnumberNoThe progress of the effect. A value between 0 and 1.

Source: src/cameras/2d/typedefs/CameraFlashCallback.js#L1
Since: 3.5.0


CameraPanCallback

CameraPanCallback

Parameters:

nametypeoptionaldescription
cameraPhaser.Cameras.Scene2D.CameraNoThe camera on which the effect is running.
progressnumberNoThe progress of the effect. A value between 0 and 1.
xnumberNoThe Camera's new scrollX coordinate.
ynumberNoThe Camera's new scrollY coordinate.

Source: src/cameras/2d/typedefs/CameraPanCallback.js#L1
Since: 3.5.0


CameraShakeCallback

CameraShakeCallback

Parameters:

nametypeoptionaldescription
cameraPhaser.Cameras.Scene2D.CameraNoThe camera on which the effect is running.
progressnumberNoThe progress of the effect. A value between 0 and 1.

Source: src/cameras/2d/typedefs/CameraShakeCallback.js#L1
Since: 3.5.0


CameraZoomCallback

CameraZoomCallback

Parameters:

nametypeoptionaldescription
cameraPhaser.Cameras.Scene2D.CameraNoThe camera on which the effect is running.
progressnumberNoThe progress of the effect. A value between 0 and 1.
zoomnumberNoThe Camera's new zoom value.

Source: src/cameras/2d/typedefs/CameraZoomCallback.js#L1
Since: 3.11.0


JSONCamera

JSONCamera

Source: src/cameras/2d/typedefs/JSONCamera.js#L1
Since: 3.0.0


JSONCameraBounds

JSONCameraBounds

Source: src/cameras/2d/typedefs/JSONCameraBounds.js#L1
Since: 3.0.0


Private Members

Updated on