fromTextureAtlas static method
Future<TextureAtlas>
fromTextureAtlas(
- TextureAtlas textureAtlas,
- String namePrefix,
- String source,
- [TextureAtlasFormat textureAtlasFormat = TextureAtlasFormat.JSONARRAY]
Implementation
static Future<TextureAtlas> fromTextureAtlas(
TextureAtlas textureAtlas, String namePrefix, String source,
[TextureAtlasFormat textureAtlasFormat =
TextureAtlasFormat.JSONARRAY]) =>
textureAtlasFormat.load(
_TextureAtlasLoaderTextureAtlas(textureAtlas, namePrefix, source));