Camera

class Camera
property id

The id of the camera.

Type

str, read-only

property name

The name of the camera.

Type

str

Raises

ReadOnlyError -- If Database is in read only mode.

property group

The group of this camera or None if the camera is at the root of the hierarchy.

Type

CameraGroup or None

Raises

ReadOnlyError -- If Database is in read only mode.

property sensor

The sensor of this camera or None if the camera uses the default sensor.

Type

Sensor or None

Raises

ReadOnlyError -- If Database is in read only mode.

property fov_x

The horizontal field of view (in degrees).

Type

float

Raises

ReadOnlyError -- If Database is in read only mode.

property fov_y

The vertial field of view (in degrees).

Type

float

Raises

ReadOnlyError -- If Database is in read only mode.

property view_from

The origin point of the camera.

Type

Vector3

Raises

ReadOnlyError -- If Database is in read only mode.

property view_to

The view point of the camera.

Type

Vector3

Raises

ReadOnlyError -- If Database is in read only mode.

property view_up

The up vector of the camera.

Type

Vector3

Raises

ReadOnlyError -- If Database is in read only mode.

property exposed_in_configuration

Whether the camera is exposed in configuration.

Type

bool

Raises

ReadOnlyError -- If Database is in read only mode.

property lens_shift_x

The horizontal lens shift value.

Type

float

Raises

ReadOnlyError -- If Database is in read only mode.

property lens_shift_y

The vertical lens shift value.

Type

float

Raises

ReadOnlyError -- If Database is in read only mode.

remove()

Delete a camera.

Raises

ReadOnlyError -- If Database is in read only mode.