unreal.LiveLinkCameraFrameData

class unreal.LiveLinkCameraFrameData(meta_data: LiveLinkMetaData = Ellipsis, property_values: Array[float] = [], 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)

Bases: LiveLinkTransformFrameData

Dynamic data for camera

C++ Source:

  • Module: LiveLinkInterface

  • File: LiveLinkCameraTypes.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)

  • 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

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

  • 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 aperture: float

[Read-Write] Aperture: Aperture of the camera in terms of f-stop

Type:

(float)

property aspect_ratio: float

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

Type:

(float)

property field_of_view: float

[Read-Write] Field Of View: Field of View of the camera in degrees

Type:

(float)

property focal_length: float

[Read-Write] Focal Length: Focal length of the camera

Type:

(float)

property focus_distance: float

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

Type:

(float)

property projection_mode: LiveLinkCameraProjectionMode

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

Type:

(LiveLinkCameraProjectionMode)