The Scene Systems Render Event.
This event is dispatched by a Scene during the main game loop step.
The event flow for a single step of a Scene is as follows:
PRE_UPDATE
UPDATE
Scene.update
method is called, if it existsPOST_UPDATE
PRE_RENDER
RENDER
Listen to it from a Scene using this.events.on('render', listener)
.
A Scene will only render if it is visible.
By the time this event is dispatched, the Scene will have already been rendered.
name | type | description |
---|---|---|
renderer | Phaser.Renderer.Canvas.CanvasRenderer | Phaser.Renderer.WebGL.WebGLRenderer |
The renderer that rendered the Scene. |