Skip to content

Latest commit

 

History

History
29 lines (16 loc) · 545 Bytes

File metadata and controls

29 lines (16 loc) · 545 Bytes

TextureAtlasExporter.exportTextureAtlas()

Availability

Animate 2020.

Usage

TextureAtlasExporter.exportTextureAtlas(symbol, path)

Parameters

symbol: Object; The SymbolItem or SymbolInstance on which texture atlas should be generated.

Returns

Boolean.

Description

Method; Exports the texture atlas for the selected symbol.

Example

symbolsArr=fl.getDocumentDOM().getTimeline().layers[0].frames[0].elements;

TextureAtlasExporter.exportTextureAtlas(symbolsArr[0].libraryItem)