rlzero.Shape

class rlzero.Shape

Abstract base class for all 3d objects.

__init__()

Methods

__init__()

Attributes

color

Base Color of the object.

pos

Position Vector in 3d space.

wire_color

If drawing wireframe, use this Color.

x

Shortcut to the x co-ordinate float of the object position

y

Shortcut to the y co-ordinate float of the object position

z

Shortcut to the z co-ordinate float of the object position