spriteSheetLoader
Sets the SpriteSheetLoader to be used to load a Bitmap from a SpriteSheet.
Example
val srgAssetLoader = SRGAssetLoader(context) {
spriteSheetLoader { spriteSheet, onComplete ->
onComplete(loadBitmap(spriteSheet.url))
}
}
Content copied to clipboard
Parameters
spriteSheetLoader
The SpriteSheetLoader instance to use.