Types.GameObjects.RenderTexture

Phaser.Types.GameObjects.RenderTexture

RenderTextureConfig

<static> RenderTextureConfig

name

type

optional

default

description

x

number

Yes

0

The x coordinate of the RenderTextures position.

y

number

Yes

0

The y coordinate of the RenderTextures position.

width

number

Yes

32

The width of the RenderTexture.

height

number

Yes

32

The height of the RenderTexture.

Type: object

Member of: Phaser.Types.GameObjects.RenderTexture

Source: src/gameobjects/rendertexture/typedefs/RenderTextureConfig.js#L1
Since: 3.2.0


Updated on