Namespace: RenderTexture

Phaser.Types.GameObjects. RenderTexture

Type Definitions


RenderTextureConfig

Type:
  • object
Properties:
Name Type Argument 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.

Since: 3.2.0
Source: src/gameobjects/rendertexture/typedefs/RenderTextureConfig.js (Line 1)