unreal.LiveLinkLensFrameData
¶
- class unreal.LiveLinkLensFrameData(meta_data: LiveLinkMetaData = Ellipsis, property_values: None = [], transform: Transform = Ellipsis, field_of_view: float = 0.0, aspect_ratio: float = 0.0, focal_length: float = 0.0, aperture: float = 0.0, focus_distance: float = 0.0, projection_mode: LiveLinkCameraProjectionMode = Ellipsis, distortion_parameters: None = [], fx_fy: Vector2D = Ellipsis, principal_point: Vector2D = Ellipsis)¶
Bases:
LiveLinkCameraFrameData
Struct for dynamic (per-frame) lens data
C++ Source:
Plugin: LiveLinkLens
Module: LiveLinkLens
File: LiveLinkLensTypes.h
Editor Properties: (see get_editor_property/set_editor_property)
aperture
(float): [Read-Write] Aperture of the camera in terms of f-stopaspect_ratio
(float): [Read-Write] Aspect Ratio of the camera (Width / Heigth)distortion_parameters
(Array[float]): [Read-Write] Parameters used by the distortion modelfield_of_view
(float): [Read-Write] Field of View of the camera in degreesfocal_length
(float): [Read-Write] Focal length of the camerafocus_distance
(float): [Read-Write] Focus distance of the camera in cm. Works only in manual focus methodfx_fy
(Vector2D): [Read-Write] Normalized focal length used by the distortion modelmeta_data
(LiveLinkMetaData): [Read-Write] Frame’s metadata.principal_point
(Vector2D): [Read-Write] Normalized center of the image, in the range [0.0f, 1.0f]projection_mode
(LiveLinkCameraProjectionMode): [Read-Write] ProjectionMode of the camera (Perspective, Orthographic, etc…)property_values
(Array[float]): [Read-Write] Values of the properties defined in the static structure. Use FLiveLinkBaseStaticData.FindPropertyValue to evaluate.transform
(Transform): [Read-Write] Transform of the frameworld_time
(LiveLinkWorldTime): [Read-Only] Time in seconds the frame was created.