phaser/src/renderer/events/RENDER_EVENT.js

22 lines
626 B
JavaScript
Raw Normal View History

2020-11-17 14:08:23 +00:00
/**
* @author Richard Davey <rich@photonstorm.com>
2022-02-28 14:29:51 +00:00
* @copyright 2022 Photon Storm Ltd.
2020-11-17 14:08:23 +00:00
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* The Render Event.
*
* This event is dispatched by the Phaser Renderer for every camera in every Scene.
2020-11-17 14:08:23 +00:00
*
* It is dispatched before any of the children in the Scene have been rendered.
*
* @event Phaser.Renderer.Events#RENDER
* @type {string}
2020-11-17 14:08:23 +00:00
* @since 3.50.0
*
* @param {Phaser.Scene} scene - The Scene being rendered.
* @param {Phaser.Cameras.Scene2D.Camera} camera - The Scene Camera being rendered.
*/
module.exports = 'render';