Phaser.Types.Cameras.Scene2D

Scope: static

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

Static functions

CameraConfig

CameraConfig

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


CameraFadeCallback

CameraFadeCallback

Parameters:

name

type

optional

description

camera

Phaser.Cameras.Scene2D.Camera

No

The camera on which the effect is running.

progress

number

No

The 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:

name

type

optional

description

camera

Phaser.Cameras.Scene2D.Camera

No

The camera on which the effect is running.

progress

number

No

The 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:

name

type

optional

description

camera

Phaser.Cameras.Scene2D.Camera

No

The camera on which the effect is running.

progress

number

No

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

x

number

No

The Camera's new scrollX coordinate.

y

number

No

The Camera's new scrollY coordinate.

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


CameraShakeCallback

CameraShakeCallback

Parameters:

name

type

optional

description

camera

Phaser.Cameras.Scene2D.Camera

No

The camera on which the effect is running.

progress

number

No

The 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:

name

type

optional

description

camera

Phaser.Cameras.Scene2D.Camera

No

The camera on which the effect is running.

progress

number

No

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

zoom

number

No

The 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


Updated on