ggmolvis.camera

This module contains the Camera class, which is used to represent the camera in the scene.

Classes

class ggmolvis.camera.Camera(name=None, location=None, rotation=None, lens=24.0, clip_start=0.1, clip_end=1000.0)[source]

Class for the camera.

render(mode='image', frame=None, filepath=None, resolution=(640, 360))[source]

Render the scene with this camera

set_position(location, rotation)[source]

Set the position of the camera

set_view()[source]

Set the current view to this camera

Classes

Camera([name, location, rotation, lens, ...])

Class for the camera.