new RenderTexture(game, key, width, height)
A dynamic initially blank canvas to which images can be drawn
Parameters:
Name | Type | Description |
---|---|---|
game |
Phaser.Game | Current game instance. |
key |
string | Asset key for the render texture. |
width |
number | the width of the render texture. |
height |
number | the height of the render texture. |
- Source:
Members
-
frame
-
- Source:
Properties:
Name Type Description frame
Description Description.
-
game
-
- Source:
Properties:
Name Type Description game
Phaser.Game A reference to the currently running game.
-
height
-
- Source:
Properties:
Name Type Description height
number the height.
-
indetityMatrix
-
I know this has a typo in it, but it's because the PIXI.RenderTexture does and we need to pair-up with it once they update pixi to fix the typo, we'll fix it here too :)
- Source:
Properties:
Name Type Description indetityMatrix
Description Description.
-
name
-
- Source:
Properties:
Name Type Description name
string the name of the object.
-
type
-
- Source:
Properties:
Name Type Description type
Description Description.
-
width
-
- Source:
Properties:
Name Type Description width
number the width.