Method GetIndexOfRegion
GetIndexOfRegion(string)
Returns the index of the TextureRegion element with the specified name in this TextureAtlas.
public int GetIndexOfRegion(string name)
Parameters
namestringThe name of the TextureRegion to locate.
Returns
- int
The index of the TextureRegion located.