unreal.LensInfo

class unreal.LensInfo(lens_model_name: str = '', lens_serial_number: str = '', lens_model: Class = Ellipsis, sensor_dimensions: Vector2D = Ellipsis, image_dimensions: IntPoint = Ellipsis)

Bases: 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: IntPoint

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

Type:

(IntPoint)

property lens_model: Class

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

Type:

(type(Class))

property lens_model_name: str

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

Type:

(str)

property lens_serial_number: str

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

Type:

(str)

property sensor_dimensions: Vector2D

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

Type:

(Vector2D)