Method RemoveRegion
RemoveRegion(int)
Removes the Texture
Parameters
index
intThe index of the Texture
Region element to remove.
Returns
- bool
true if the Texture
Region element was successfully removed; otherwise, false. This method returns false if the specified index is less than zero or is greater than or equal to the total number of TextureRegion element in this TextureAtlas .
RemoveRegion(string)
Removes the Texture
Parameters
name
stringThe name of the Texture
Region element to remove.
Returns
- bool
true if the Texture
Region element was successfully removed; otherwise, false. This method returns false if thisTextureAtlas does not contain a TextureRegion element with the specified name.