The class for atlas and animation.


Variable Name Type Description
key string Read only. Unique asset key of the atlas file.
url string Read only. URL of the atlas file.
meta object Read only. Meta data of the atlas file.
animation object Read only. Animation information of the atlas file.
img Image Read only. The reference of the atlas image.
count int Read only. The number of frames.
frames array Read only. The list of frames.
frameNames array Read only. The name list of frames.
uuid string Read only. The uuid of resource


Method Description
getFrame Get a FrameData object from the atlas.
getTexture Get a Texture object from the atlas.
getPadding Get Nine-Patch information from the atlas.


Texture Atlases