# Camera¶

class Camera
property id

The id of the camera.

Type

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

remove()

Delete a camera.

Raises

ReadOnlyError -- If Database is in read only mode.