Welcome to Python-flavored Magnum! Please note that, while already being rather stable, this functionality is still considered experimental and some APIs might get changed without preserving full backwards compatibility.

magnum.scenegraph.Drawable3D class

Drawable for three-dimensional float scenes

Methods

def draw(self, transformation_matrix: Matrix4, camera: Camera3D) -> None
Draw the object using given camera

Special methods

def __init__(self, object: AbstractObject3D, drawables: DrawableGroup3D = None) -> None
Constructor

Properties

drawables: DrawableGroup3D get
Group containing this drawable
object: AbstractObject3D get
Object holding this feature