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

Camera for three-dimensional float scenes

Methods

def draw(self, arg0: DrawableGroup3D, /) -> None
Draw
def projection_size(self, /) -> Vector2
Size of (near) XY plane in current projection

Special methods

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

Properties

aspect_ratio_policy: AspectRatioPolicy get set
Aspect ratio policy
camera_matrix: Matrix4 get
Camera matrix
object: AbstractObject3D get
Object holding this feature
projection_matrix: Matrix4 get set
Projection matrix
viewport: Vector2i get set
Viewport size