SpriteBatchExtension extension

on
  • Game

Methods

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