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] Resolution of the original footage that was captured by the camera (not necessarily the resolution of the media source). For example, the original footage might have been 4320x1746, but to transmit that image over SDI, it might have been scaled and fit into a 4096x2160 frame. In this case, the “Image Resolution” should be set to 4320x1746, while the “Media Resolution” will read 4096x2160.lens_model
(type(Class)): [Read-Write] Model of the lens (spherical, anamorphic, etc…)lens_model_name
(str): [Read-Write] Model name of the lenslens_serial_number
(str): [Read-Write] Serial number of the lenssensor_dimensions
(Vector2D): [Read-Write] Width and height of the calibrated camera’s sensor, in millimeters
- property image_dimensions: IntPoint¶
[Read-Write] Resolution of the original footage that was captured by the camera (not necessarily the resolution of the media source). For example, the original footage might have been 4320x1746, but to transmit that image over SDI, it might have been scaled and fit into a 4096x2160 frame. In this case, the “Image Resolution” should be set to 4320x1746, while the “Media Resolution” will read 4096x2160.
- Type:
(IntPoint)