The Camera Pre-Render Event.
This event is dispatched by a Camera instance when it is about to render. It is only dispatched if the Camera is rendering to a texture.
Listen to it from a Camera instance using: camera.on('prerender', listener)
.
name | type | description |
---|---|---|
camera | Phaser.Cameras.Scene2D.BaseCamera |
The camera that is about to render to a texture. |