interpolateSubMobject method

  1. @override
void interpolateSubMobject(
  1. List<Mobject> mobs,
  2. double alpha
)
override

Implementation

@override
void interpolateSubMobject(List<Mobject> mobs, double alpha) {
  var subMob = mobs[0];
  var startSubMob = mobs[1];
  var bounds = getBounds(alpha);
  subMob.pointwiseBecomePartial(startSubMob, bounds[0], bounds[1]);
}