unreal.LensInfo

class unreal.LensInfo(lens_model_name='', lens_serial_number='', lens_model=None, sensor_dimensions=[23.76, 13.365], image_dimensions=[1920, 1080])

Bases: unreal.StructBase

Information about the lens rig

C++ Source:

  • Plugin: CameraCalibrationCore

  • Module: CameraCalibrationCore

  • File: LensData.h

Editor Properties: (see get_editor_property/set_editor_property)

  • image_dimensions (IntPoint): [Read-Write] Image Dimensions: Camera image size, in pixels

  • lens_model (type(Class)): [Read-Write] Lens Model: Model of the lens (spherical, anamorphic, etc…)

  • lens_model_name (str): [Read-Write] Lens Model Name: Model name of the lens

  • lens_serial_number (str): [Read-Write] Lens Serial Number: Serial number of the lens

  • sensor_dimensions (Vector2D): [Read-Write] Sensor Dimensions: Width and height of the calibrated camera’s sensor, in millimeters

property image_dimensions

[Read-Write] Image Dimensions: Camera image size, in pixels

Type

(IntPoint)

property lens_model

[Read-Write] Lens Model: Model of the lens (spherical, anamorphic, etc…)

Type

(type(Class))

property lens_model_name

[Read-Write] Lens Model Name: Model name of the lens

Type

(str)

property lens_serial_number

[Read-Write] Lens Serial Number: Serial number of the lens

Type

(str)

property sensor_dimensions

[Read-Write] Sensor Dimensions: Width and height of the calibrated camera’s sensor, in millimeters

Type

(Vector2D)