generator_mamableSet_shoot static method
Implementation
static Generator<MamableSet> generator_mamableSet_shoot(
Offset delta, {
Generator<double> distribution = FKeep.generateDouble,
(Curve, Curve)? curve,
required Alignment alignmentScale,
required int total,
}) {
final interval = 1 / total;
return (index) => FMatable.mamableSet_shoot(
alignmentScale: alignmentScale,
sliding: FMatalue.offset_0To(
delta * distribution(index),
curve: curve,
),
scaling: FMatalue.between_double_1From(
0.0,
curve: curve.nullOrMap(CurveCurve.applyIntervalToEnd(interval * index)),
),
);
}