Class: RenderTexture

Phaser. RenderTexture

Phaser.RenderTexture

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

Properties:
Name Type Description
frame Description

Description.

Source:

game

Properties:
Name Type Description
game Phaser.Game

A reference to the currently running game.

Source:

height

Properties:
Name Type Description
height number

the height.

Source:

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 :)

Properties:
Name Type Description
indetityMatrix Description

Description.

Source:

name

Properties:
Name Type Description
name string

the name of the object.

Source:

type

Properties:
Name Type Description
type Description

Description.

Source:

width

Properties:
Name Type Description
width number

the width.

Source:
Phaser Copyright © 2012-2013 Photon Storm Ltd.
Documentation generated by JSDoc 3.3.0-dev on Thu Nov 07 2013 06:07:40 GMT-0000 (GMT) using the DocStrap template.