Atlas maker lets you create atlases from a bunch of small textures. It's an alternative to using the external Texture Packer.
More...
|
static UISpriteData | AddSprite (List< UISpriteData > sprites, SpriteEntry se) |
| Add a new sprite to the atlas, given the texture it's coming from and the packed rect within the atlas. More...
|
|
static List< SpriteEntry > | CreateSprites (List< Texture > textures) |
| Create a list of sprites using the specified list of textures. More...
|
|
static void | ReleaseSprites (List< SpriteEntry > sprites) |
| Release all temporary textures created for the sprites. More...
|
|
static void | ReplaceSprites (UIAtlas atlas, List< SpriteEntry > sprites) |
| Replace the sprites within the atlas. More...
|
|
static SpriteEntry | DuplicateSprite (UIAtlas atlas, string spriteName) |
| Duplicate the specified sprite. More...
|
|
static SpriteEntry | ExtractSprite (UIAtlas atlas, string spriteName) |
| Extract the specified sprite from the atlas. More...
|
|
static void | ExtractSprites (UIAtlas atlas, List< SpriteEntry > finalSprites) |
| Extract sprites from the atlas, adding them to the list. More...
|
|
static bool | UpdateTexture (UIAtlas atlas, List< SpriteEntry > sprites) |
| Combine all sprites into a single texture and save it to disk. More...
|
|
static void | ShowProgress (float val) |
| Show a progress bar. More...
|
|
static void | AddOrUpdate (UIAtlas atlas, Texture2D tex) |
| Add the specified texture to the atlas, or update an existing one. More...
|
|
static void | AddOrUpdate (UIAtlas atlas, SpriteEntry se) |
| Add the specified texture to the atlas, or update an existing one. More...
|
|
static void | UpdateAtlas (UIAtlas atlas, List< SpriteEntry > sprites) |
| Update the sprite atlas, keeping only the sprites that are on the specified list. More...
|
|
Atlas maker lets you create atlases from a bunch of small textures. It's an alternative to using the external Texture Packer.