Phaser API Documentation

  Version: 
Event: FADE_IN_START
Phaser.Cameras.Scene2D.Events.FADE_IN_START
FADE_IN_START

Description:

The Camera Fade In Start Event.

This event is dispatched by a Camera instance when the Fade In Effect starts.

Listen to it from a Camera instance using Camera.on('camerafadeinstart', listener).

Parameters:

name type description
camera Phaser.Cameras.Scene2D.Camera

The camera that the effect began on.

effect Phaser.Cameras.Scene2D.Effects.Fade

A reference to the effect instance.

duration number

The duration of the effect.

red number

The red color channel value.

green number

The green color channel value.

blue number

The blue color channel value.

Since: 3.3.0