addTextureAtlas method
void
addTextureAtlas(
- String name,
- String url, [
- TextureAtlasFormat textureAtlasFormat = TextureAtlasFormat.JSONARRAY,
- BitmapDataLoadOptions? options,
Implementation
void addTextureAtlas(String name, String url,
[TextureAtlasFormat textureAtlasFormat = TextureAtlasFormat.JSONARRAY,
BitmapDataLoadOptions? options]) {
final loader = TextureAtlas.load(url, textureAtlasFormat, options);
_addResource('TextureAtlas', name, url, loader);
}