Phaser API Documentation

  Version: 
Filter
This is a beta release of our new docs system. Found an issue?
Please tell us about it in the #📖-newdocs-feedback channel on the Phaser Discord
Namespace: RenderTexture
Phaser.Types.GameObjects.RenderTexture

Type Definitions

RenderTextureConfig
Focus
Focus
Properties:
name type arguments Default description
x number <optional> 0

The x coordinate of the RenderTextures position.

y number <optional> 0

The y coordinate of the RenderTextures position.

width number <optional> 32

The width of the RenderTexture.

height number <optional> 32

The height of the RenderTexture.

key string <optional>

The texture key to make the RenderTexture from.

frame string <optional>

the frame to make the RenderTexture from.

Type:
object
Focus
Focus