Phaser API Documentation

  Version: 
<private> batchTextureFrame(textureFrame, [x], [y], [alpha], [tint])

Description:

Internal method that handles the drawing of a Texture Frame to this Dynamic Texture.

Parameters:

name type arguments Default description
textureFrame Phaser.Textures.Frame

The Texture Frame to draw.

x number <optional> 0

The x position to draw the Frame at.

y number <optional> 0

The y position to draw the Frame at.

alpha number <optional> 1

The alpha value. Only used when drawing Texture Frames to this texture. Game Objects use their own alpha.

tint number <optional> 0xffffff

The tint color value. Only used when drawing Texture Frames to this texture. Game Objects use their own tint. WebGL only.

Since: 3.12.0