fromTextureAtlas static method

Future<TextureAtlas> fromTextureAtlas(
  1. TextureAtlas textureAtlas,
  2. String namePrefix,
  3. String source,
  4. [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));