unreal.LiveLinkCameraFrameData¶
- class unreal.LiveLinkCameraFrameData(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, film_back_width: float = 0.0, film_back_height: float = 0.0)¶
Bases:
LiveLinkTransformFrameDataDynamic data for camera
C++ Source:
Module: LiveLinkInterface
File: LiveLinkCameraTypes.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)field_of_view(float): [Read-Write] Field of View of the camera in degreesfilm_back_height(float): [Read-Write] Used with CinematicCamera. Values greater than 0 will be applied if bIsDynamicFilmbackSupported is true on static data.film_back_width(float): [Read-Write] Used with CinematicCamera. Values greater than 0 will be applied if bIsDynamicFilmbackSupported is true on static data.focal_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 methodmeta_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.timestamps(Map[Name, double]): [Read-Only] This frame timestamps used for measuring latencytransform(Transform): [Read-Write] Transform of the frameworld_time(LiveLinkWorldTime): [Read-Only] Time in seconds the frame was created.
- property aspect_ratio: float¶
[Read-Write] Aspect Ratio of the camera (Width / Heigth)
- Type:
(float)
- property film_back_height: float¶
[Read-Write] Used with CinematicCamera. Values greater than 0 will be applied if bIsDynamicFilmbackSupported is true on static data.
- Type:
(float)
- property film_back_width: float¶
[Read-Write] Used with CinematicCamera. Values greater than 0 will be applied if bIsDynamicFilmbackSupported is true on static data.
- Type:
(float)
- property focus_distance: float¶
[Read-Write] Focus distance of the camera in cm. Works only in manual focus method
- Type:
(float)
- property projection_mode: LiveLinkCameraProjectionMode¶
[Read-Write] ProjectionMode of the camera (Perspective, Orthographic, etc…)
- Type: