UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
LiveLinkCameraTypes.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "LiveLinkTypes.h"
7#include "LiveLinkCameraTypes.generated.h"
8
9UENUM()
15
19USTRUCT(BlueprintType)
21{
23
24public:
25
26 //Whether FieldOfView in frame data can be used
27 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "LiveLink")
28 bool bIsFieldOfViewSupported = false;
29
30 //Whether AspectRatio in frame data can be used
31 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "LiveLink")
32 bool bIsAspectRatioSupported = false;
33
34 //Whether FocalLength in frame data can be used
35 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "LiveLink")
36 bool bIsFocalLengthSupported = false;
37
38 //Whether ProjectionMode in frame data can be used
39 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "LiveLink")
40 bool bIsProjectionModeSupported = false;
41
42 //Used with CinematicCamera. Values greater than 0 will be applied
43 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "LiveLink")
44 float FilmBackWidth = -1.0f;
45
46 //Used with CinematicCamera. Values greater than 0 will be applied
47 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "LiveLink")
48 float FilmBackHeight = -1.0f;
49
50 //Whether Aperture in frame data can be used
51 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "LiveLink")
52 bool bIsApertureSupported = false;
53
54 //Whether FocusDistance in frame data can be used
55 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "LiveLink")
56 bool bIsFocusDistanceSupported = false;
57
58 //Set to false to force the camera to disable depth of field
59 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "LiveLink")
60 bool bIsDepthOfFieldSupported = true;
61
62 // Specifies if the live link subject will send dynamic changes to the film back.
63 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "LiveLink")
64 bool bIsDynamicFilmbackSupported = false;
65};
66
70USTRUCT(BlueprintType)
72{
74
75 // Field of View of the camera in degrees
76 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "LiveLink", Interp)
77 float FieldOfView = 90.f;
78
79 // Aspect Ratio of the camera (Width / Heigth)
80 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "LiveLink", Interp)
81 float AspectRatio = 1.777778f;
82
83 // Focal length of the camera
84 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "LiveLink", Interp)
85 float FocalLength = 50.f;
86
87 // Aperture of the camera in terms of f-stop
88 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "LiveLink", Interp)
89 float Aperture = 2.8f;
90
91 // Focus distance of the camera in cm. Works only in manual focus method
92 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "LiveLink", Interp)
93 float FocusDistance = 100000.0f;
94
95 // ProjectionMode of the camera (Perspective, Orthographic, etc...)
96 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "LiveLink", Interp)
98
99 // Used with CinematicCamera. Values greater than 0 will be applied if bIsDynamicFilmbackSupported is true on static data.
100 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "LiveLink")
101 float FilmBackWidth = -1.0f;
102
103 // Used with CinematicCamera. Values greater than 0 will be applied if bIsDynamicFilmbackSupported is true on static data.
104 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "LiveLink")
105 float FilmBackHeight = -1.0f;
106
107};
108
112USTRUCT(BlueprintType)
114{
116
117 // Static data that should not change every frame
118 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "LiveLink")
120
121 // Dynamic data that can change every frame
122 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "LiveLink")
124};
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
return true
Definition ExternalRpcRegistry.cpp:601
ELiveLinkCameraProjectionMode
Definition LiveLinkCameraTypes.h:11
const bool
Definition NetworkReplayStreaming.h:178
#define UPROPERTY(...)
UObject definition macros.
Definition ObjectMacros.h:744
#define GENERATED_BODY(...)
Definition ObjectMacros.h:765
#define UENUM(...)
Definition ObjectMacros.h:749
#define USTRUCT(...)
Definition ObjectMacros.h:746
USkinnedMeshComponent float
Definition SkinnedMeshComponent.h:60
uint8_t uint8
Definition binka_ue_file_header.h:8
@ false
Definition radaudio_common.h:23
Definition LiveLinkTypes.h:286
Definition LiveLinkCameraTypes.h:114
Definition LiveLinkCameraTypes.h:72
Definition LiveLinkCameraTypes.h:21
Definition LiveLinkTransformTypes.h:34
Definition LiveLinkTransformTypes.h:13