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 frameDescription Description.
-
game
-
- Source:
Properties:
Name Type Description gamePhaser.Game A reference to the currently running game.
-
height
-
- Source:
Properties:
Name Type Description heightnumber 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 indetityMatrixDescription Description.
-
name
-
- Source:
Properties:
Name Type Description namestring the name of the object.
-
type
-
- Source:
Properties:
Name Type Description typeDescription Description.
-
width
-
- Source:
Properties:
Name Type Description widthnumber the width.