render(root)
Renders the DisplayObjectContainer, usually the Phaser.Stage, to this canvas view.
Parameters
Name | Type | Description |
---|---|---|
root | PhaserStage | PIXIDisplayObjectContainer | The root element to be rendered. |
- Source code: pixi/renderers/canvas/CanvasRenderer.js (Line 152)
Please login to continue.