manim.mobject.three_dimensions.Cube

class Cube(side_length=2, fill_opacity=0.75, fill_color='#58C4DD', stroke_width=0, **kwargs)[source]

Bases: manim.mobject.types.vectorized_mobject.VGroup

Methods

generate_points

Initializes points and therefore the shape.

Attributes

animate

Used to animate the application of a method.

depth

The depth of the mobject.

height

The height of the mobject.

width

The width of the mobject.

generate_points()[source]

Initializes points and therefore the shape.

Gets called upon creation. This is an empty method that can be implemented by subclasses.