unreal.LiveLinkLensFrameData

class unreal.LiveLinkLensFrameData(meta_data=[{}, [[0], [24, 1], 0.0]], property_values=[], transform=[[0.0, 0.0, 0.0], [- 0.0, 0.0, 0.0], [1.0, 1.0, 1.0]], field_of_view=90.0, aspect_ratio=1.777778, focal_length=50.0, aperture=2.8, focus_distance=100000.0, projection_mode=LiveLinkCameraProjectionMode.PERSPECTIVE, distortion_parameters=[], fx_fy=[1.0, 1.777778], principal_point=[0.5, 0.5])

Bases: unreal.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: Aperture of the camera in terms of f-stop

  • aspect_ratio (float): [Read-Write] Aspect Ratio: Aspect Ratio of the camera (Width / Heigth)

  • distortion_parameters (Array(float)): [Read-Write] Distortion Parameters: Parameters used by the distortion model

  • field_of_view (float): [Read-Write] Field Of View: Field of View of the camera in degrees

  • focal_length (float): [Read-Write] Focal Length: Focal length of the camera

  • focus_distance (float): [Read-Write] Focus Distance: Focus distance of the camera in cm. Works only in manual focus method

  • fx_fy (Vector2D): [Read-Write] Fx Fy: Normalized focal length used by the distortion model

  • meta_data (LiveLinkMetaData): [Read-Write] Meta Data: Frame’s metadata.

  • principal_point (Vector2D): [Read-Write] Principal Point: Normalized center of the image, in the range [0.0f, 1.0f]

  • projection_mode (LiveLinkCameraProjectionMode): [Read-Write] Projection Mode: ProjectionMode of the camera (Perspective, Orthographic, etc…)

  • property_values (Array(float)): [Read-Write] Property Values: Values of the properties defined in the static structure. Use FLiveLinkBaseStaticData.FindPropertyValue to evaluate.

  • transform (Transform): [Read-Write] Transform: Transform of the frame

  • world_time (LiveLinkWorldTime): [Read-Only] World Time: Time in seconds the frame was created.

property distortion_parameters

[Read-Write] Distortion Parameters: Parameters used by the distortion model

Type

(Array(float))

property fx_fy

[Read-Write] Fx Fy: Normalized focal length used by the distortion model

Type

(Vector2D)

property principal_point

[Read-Write] Principal Point: Normalized center of the image, in the range [0.0f, 1.0f]

Type

(Vector2D)