mirror of
https://github.com/wassname/phaser.git
synced 2026-08-09 12:20:34 +08:00
RenderTexture now displays correctly in Canvas games.
Stage.display property added. A direct reference to the root Pixi Stage object (very useful for RenderTexture manipulation)
This commit is contained in:
@@ -47,6 +47,11 @@ Phaser.Stage = function (game, width, height) {
|
||||
this._stage.name = '_stage_root';
|
||||
this._stage.interactive = false;
|
||||
|
||||
/**
|
||||
* @property {PIXI.Stage} display - The Pixi Stage which is hooked to the renderer.
|
||||
*/
|
||||
this.display = this._stage;
|
||||
|
||||
/**
|
||||
* @property {number} scaleMode - The current scaleMode.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user