UpdateFromAlphaFunc<Mob extends Mobject> constructor

UpdateFromAlphaFunc<Mob extends Mobject>({
  1. required Mob mobject,
  2. required Mob updateFunc(
    1. Mob,
    2. double
    ),
  3. double runTime = DEFAULT_ANIMATION_RUN_TIME,
  4. RateFunc rateFunc = smooth,
  5. double lagRatio = 0,
})

Implementation

UpdateFromAlphaFunc({
  required Mob mobject,
  required this.updateFunc,
  double runTime = DEFAULT_ANIMATION_RUN_TIME,
  RateFunc rateFunc = smooth,
  double lagRatio = 0,
}) : super(mobject, runTime: runTime, rateFunc: rateFunc, lagRatio: lagRatio);