On this page

Cube

from noon import Cube

Source-derived class. Host availability is not inferred from this listing. See reference scope.

Bases: _WorldMobject, _compat.Group. Declared members follow; inherited and dynamically attached members are not expanded.

Six retained face meshes with Manim's Cairo shading defaults.

Cube.__init__

Cube.__init__(self, side_length=2, fill_opacity=0.75, fill_color=_base.BLUE, stroke_width=0, shade_in_3d=True, **kwargs)
ParameterKindAnnotationDefault
selfpositional or keywordNot annotatedNo default
side_lengthpositional or keywordNot annotated2
fill_opacitypositional or keywordNot annotated0.75
fill_colorpositional or keywordNot annotated_base.BLUE
stroke_widthpositional or keywordNot annotated0
shade_in_3dpositional or keywordNot annotatedTrue
kwargs**kwargsNot annotatedNo default

Return annotation: Not annotated

No docstring declared here. Consult the source and host reference.

Source declaration