Skip to main content
Version: Phaser v4.0.0-rc.6

Types.GameObjects.RenderTexture

RenderTextureConfig

<static> RenderTextureConfig

nametypeoptionaldefaultdescription
xnumberYes0The x coordinate of the RenderTextures position.
ynumberYes0The y coordinate of the RenderTextures position.
widthnumberYes32The width of the RenderTexture.
heightnumberYes32The height of the RenderTexture.

Type: object

Member of: Phaser.Types.GameObjects.RenderTexture

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