Phaser API Documentation

  Version: 
<static, private> Image(texture, sourceIndex)

Description:

Adds an Image Element to a Texture.

Parameters:

name type description
texture Phaser.Textures.Texture

The Texture to add the Frames to.

sourceIndex number

The index of the TextureSource.

Returns:
Description:

The Texture modified by this parser.

Since: 3.0.0