A community-maintained Python framework for creating mathematical animations.
VMobject.set_shade_in_3d
Grant Sanderson6a225211a540
diff --git a/mobject/types/vectorized_mobject.py b/mobject/types/vectorized_mobject.pyindex 4a93ff652..61ec6dd87 100644--- a/mobject/types/vectorized_mobject.py+++ b/mobject/types/vectorized_mobject.py@@ -308,6 +308,10 @@ class VMobject(Mobject):self.color_using_background_image(vmobject.get_background_image_file())return self+ def set_shade_in_3d(self, value=True):+ for submob in self.get_family():+ submob.shade_in_3d = value+# Drawingdef start_at(self, point):if len(self.points) == 0: