Interface IRegionTextureAtlas
A texture atlas whose items are named regions, added to it by name, rather than a grid.
public interface IRegionTextureAtlas : ITextureAtlas, ITexture
- Inherited Members
Methods
AddRegion(string, int, int, int, int)
Adds a region named name at (x, y) that is width by height pixels, and returns it. If a region of that name exists, that region is returned and nothing is added.
TextureRegion AddRegion(string name, int x, int y, int width, int height)
Parameters
Returns
AddRegions(TextureRegion[])
Adds each of regionArray to the atlas.
void AddRegions(TextureRegion[] regionArray)
Parameters
regionArrayTextureRegion[]