On this page

Prism

from noon import Prism

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.

Prism.__init__

Prism.__init__(self, dimensions=(3, 2, 1), fill_opacity=0.75, fill_color=_base.BLUE, stroke_width=0, shade_in_3d=True, **kwargs)
ParameterKindAnnotationDefault
selfpositional or keywordNot annotatedNo default
dimensionspositional or keywordNot annotated(3, 2, 1)
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