SpriteBatchExtension extension

on
  • Game

Methods

loadSpriteBatch(String path, {Color defaultColor = const Color(0x00000000), BlendMode defaultBlendMode = BlendMode.srcOver, RSTransform? defaultTransform, bool useAtlas = true}) Future<SpriteBatch>
Utility method to load and cache the image for a SpriteBatch based on its options