Skip to main content

Interface: CameraEnt

api.CameraEnt

Ent representing camera properties.

Hierarchy#

Properties#

camera_parameters#

• camera_parameters: number[]

Camera type dependent camera parameters.

For perspective and fisheye camera types, the camera parameters array should be constructed according to

[focal, k1, k2]

where focal is the camera focal length, and k1, k2 are radial distortion parameters.

For spherical camera type the camera parameters should be an emtpy array.

Defined in#

api/ents/CameraEnt.ts:20


camera_type#

• camera_type: string

Projection type of the camera.

description Supported camera types are:

  'spherical'  'fisheye'  'perspective'

Other camera types will be treated as perspective images.

Defined in#

api/ents/CameraEnt.ts:36