Inheritance Item object >TextureAtlasExporter object
Animate 2020.
The TextureAtlasExporter object is a subclass of the Item object.
In addition to the Item object methods, you can use the following methods with the TextureAtlasExporter object:
| Method | Description |
|---|---|
| TextureAtlasExporter.exportTextureAtlas() | Exports the texture atlas for the selected symbol. |
In addition to the Item object properties, the following properties are available for the SpriteSheetExporter object:
| Property | Description |
|---|---|
| TextureAtlasExporter.algorithm | Sets the encoding algorithm for the TextureAtlas |
| TextureAtlasExporter.allowRotate | Allows sprites to be rotated when added to the TextureAtlas |
| TextureAtlasExporter.app | A string indicating the name of the application that is generating the TextureAtlas. |
| TextureAtlasExporter.autoSize | A boolean value indicating whether the TextureAtlasExporter should calculate the overall size of TextureAtlas on its own. |
| TextureAtlasExporter.borderPadding | An integer indicating the number of pixels of padding to add around each texture in the texture atlas. |
| TextureAtlasExporter.canRotate | A boolean value indicating whether the framework specified by the TextureAtlasExporter.layoutFormat property may rotate textures when adding them to the texture atlas. |
| TextureAtlasExporter.filePath | It's the location where the texture atlas files needs to be exported. |
| TextureAtlasExporter.flattenSkewObject | It's the location where the texture atlas files needs to be exported. |
| TextureAtlasExporter.imageFormat | Boolean value which indicates whether skewed assets needs to be flattened to the texture atlas.. |
| TextureAtlasExporter.optimizeBitmap | Boolean value which indicates whether texture atlas bitmaps needs to be optimized by removing extra spaces. |
| TextureAtlasExporter.optimizeJson | Boolean value which indicates whether animation.json needs to be optimized by removing indentation, decomposed matrix and use shortened names. |
| TextureAtlasExporter.overflowed | Read-only property; Boolean value which indicates, if any assets are remaining after packing into texture atlas. |
| TextureAtlasExporter.resolution | Floating value which indicates in which resolution the textures needs to be exported. |
| TextureAtlasExporter.shapePadding | An integer value indicating how many pixels of padding should be added to each exported symbol frame when adding it to the TextureAtlas. |
| TextureAtlasExporter.sheetHeight | An integer value specifying the height of the texture atlas. This value is read-only if TextureAtlasExporter.autoSize is set to true.. |
| TextureAtlasExporter.sheetWidth | An integer value specifying the width of the texture atlas. This value is read-only if TextureAtlasExporter.autoSize is set to true. |
| TextureAtlasExporter.version | Read-only property; A stinrg indicating the version number of the Animate application. This property is provided for use by texture atlas plugins. |