Phaser API Documentation

  Version: 
getFramesFromTextureSource(sourceIndex, [includeBase])

Description:

Returns an array of all the Frames in the given TextureSource.

Parameters:

name type arguments Default description
sourceIndex number

The index of the TextureSource to get the Frames from.

includeBase boolean <optional> false

Include the __BASE Frame in the output array?

Returns:
Description:

An array of Texture Frames.

Type:
Examples:
Since: 3.0.0
Source: src/textures/Texture.js (Line 285)