Atlas Parser
object AtlasParser
Reads the libGDX TexturePacker text format and rebuilds frames from it. Pure over the atlas text and page rasters; the caller loads the page PNGs.
A region that is rotated on its page is refused, naming the region: TexturePacker does not rotate by default.
Functions
Link copied to clipboard
The frame of region at its original size, cut from page: the crop is placed AtlasRegion.offsetX from the left and AtlasRegion.offsetY up from the bottom (libGDX measures the offset from the bottom-left corner), the rest is transparent.