Mobject.copyFrom constructor
Mobject.copyFrom(
- Mobject mob
Implementation
Mobject.copyFrom(Mobject mob)
: color = mob.color.copy(),
name = mob.name,
target = mob.target?.copy(),
submobjects = [for (var submob in mob.submobjects) submob.copy()],
updatingSuspended = mob.updatingSuspended,
points = [for (var pt in mob.points) pt.copy()];