unreal.LiveLinkPrestonMDRFrameData

class unreal.LiveLinkPrestonMDRFrameData(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)

Bases: unreal.LiveLinkCameraFrameData

Struct for dynamic (per-frame) Preston MDR data

C++ Source:

  • Plugin: LiveLinkPrestonMDR

  • Module: LiveLinkPrestonMDR

  • File: LiveLinkPrestonMDRTypes.h

Editor Properties: (see get_editor_property/set_editor_property)

  • aperture (float): [Read-Write] Aperture of the camera in terms of f-stop

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

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

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

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

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

  • 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.

  • raw_focus_encoder_value (uint16): [Read-Only] Raw encoder value for focus motor

  • raw_iris_encoder_value (uint16): [Read-Only] Raw encoder value for iris motor

  • raw_zoom_encoder_value (uint16): [Read-Only] Raw encoder value for zoom motor

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

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