mirror of
https://github.com/3b1b/manim.git
synced 2025-09-01 00:48:45 +00:00
VMobject.set_shade_in_3d
This commit is contained in:
parent
df9137b1ef
commit
6a225211a5
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
||||
# Drawing
|
||||
def start_at(self, point):
|
||||
if len(self.points) == 0:
|
||||
|
|
Loading…
Add table
Reference in a new issue