Class: RenderTexture

Phaser. RenderTexture

Phaser.RenderTexture

new RenderTexture(game, key, width, height)

A RenderTexture is a special texture that allows any displayObject to be rendered to it.

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 PIXI.Rectangle

The frame for this texture.

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

Properties:
Name Type Description
indetityMatrix PIXI.mat3

Matrix object.

Source:

name

Properties:
Name Type Description
name string

the name of the object.

Source:

type

Properties:
Name Type Description
type number

Base Phaser object type.

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 28 2013 15:56:33 GMT-0000 (GMT) using the DocStrap template.