Phaser API Documentation

  Version: 
<private> batchList(children, [x], [y], [alpha], [tint])

Description:

Internal method that handles the drawing of an array of children.

Parameters:

name type arguments Default description
children array

The array of Game Objects, Textures or Frames to draw.

x number <optional> 0

The x position to offset the Game Object by.

y number <optional> 0

The y position to offset the Game Object by.

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