CameraConfig

class CameraConfig[source]

Bases: object

The class representation of a camera class Camera. It contains all the settings about the camera: fov, near, far, position, target, …

Parameters:
fovfloat

The field of view of the camera.

nearfloat

The near clipping plane of the camera.

farfloat

The far clipping plane of the camera.

positiontuple[float, float, float]

The position of the camera.

targettuple[float, float, float]

The target of the camera.

scalefloat

The scale of the camera.

zoomdeltafloat

The zoom delta of the camera.

rotationdeltafloat

The rotation delta of the camera.

pan_deltafloat

The pan delta of the camera.

See also

compas_viewer.components.renderer.camera.Camera
compas_viewer.configurations.render_config.RendererConfig