BezierCircuitCubic

Qualified name: algan.mobs.bezier\_circuit.BezierCircuitCubic

class BezierCircuitCubic(control_points, normals=None, border_width=5, border_color=Color([1., 1., 1., 0., 1.]), portion_of_curve_drawn=1.0, filled=True, add_texture_grid=True, texture_grid_size=2, empty=False, **kwargs)[source]

Bases: Renderable

Methods

get_animatable_attrs

get_default_color

get_render_primitives

Attributes

animation_manager

basis

The flattened 3x3 matrix representing the Mob's orientation and scale.

color

glow

location

The 3-D location of the Mob in world space.

max_opacity

normalized_basis

The Mob's basis matrix with all its row vectors normalized to unit length.

opacity

scale_coefficient

The scaling factor of the Mob along its local axes, derived from the basis.