Phaser API Documentation

  Version: 
<static, private> AtlasXML(texture, sourceIndex, xml)

Description:

Parses an XML Texture Atlas object and adds all the Frames into a Texture.

Parameters:

name type description
texture Phaser.Textures.Texture

The Texture to add the Frames to.

sourceIndex number

The index of the TextureSource.

xml *

The XML data.

Returns:
Description:

The Texture modified by this parser.

Since: 3.7.0