ParallaxExtension extension
Methods
-
loadParallax(List<ParallaxData> dataList, {Vector2? size, Vector2? baseVelocity, Vector2? velocityMultiplierDelta, ImageRepeat repeat = ImageRepeat.repeatX, Alignment alignment = Alignment.bottomLeft, LayerFill fill = LayerFill.height})
→ Future<Parallax>
-
-
loadParallaxAnimation(String path, SpriteAnimationData animaitonData, {ImageRepeat repeat = ImageRepeat.repeatX, Alignment alignment = Alignment.bottomLeft, LayerFill fill = LayerFill.height})
→ Future<ParallaxAnimation>
-
-
loadParallaxImage(String path, {ImageRepeat repeat = ImageRepeat.repeatX, Alignment alignment = Alignment.bottomLeft, LayerFill fill = LayerFill.height, FilterQuality? filterQuality})
→ Future<ParallaxImage>
-
-
loadParallaxLayer(ParallaxData data, {ImageRepeat repeat = ImageRepeat.repeatX, Alignment alignment = Alignment.bottomLeft, LayerFill fill = LayerFill.height, Vector2? velocityMultiplier})
→ Future<ParallaxLayer>
-