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.AbstractObject2D class

Base object for two-dimensional scenes

Methods

def absolute_transformation_matrix(self, /) -> Matrix3
Transformation matrix relative to the root object
def transformation_matrix(self, /) -> Matrix3
Transformation matrix