Agrarsense
CameraBaseParameters.h
Go to the documentation of this file.
1// Copyright (c) 2023 FrostBit Software Lab at the Lapland University of Applied Sciences
2//
3// This work is licensed under the terms of the MIT license.
4// For a copy, see <https://opensource.org/licenses/MIT>.
5
6#pragma once
7
8#include "CameraBaseParameters.generated.h"
9
10USTRUCT(Blueprintable)
11struct AGRARSENSE_API FCameraBaseParameters
12{
13 GENERATED_BODY()
14
15
18 UPROPERTY(EditAnywhere, BlueprintReadWrite)
19 bool PostProcessingEffects = true;
20
24 UPROPERTY(EditAnywhere, BlueprintReadWrite)
25 bool Enable16BitFormat = true;
26
30 UPROPERTY(EditAnywhere, BlueprintReadWrite)
31 bool UseHDR = false;
32
36 UPROPERTY(EditAnywhere, BlueprintReadWrite)
37 float FOV = 90;
38
42 UPROPERTY(EditAnywhere, BlueprintReadWrite)
43 float TargetGamma = 1.0f;
44
48 UPROPERTY(EditAnywhere, BlueprintReadWrite)
49 float ShutterSpeed = 60.0f;
50
54 UPROPERTY(EditAnywhere, BlueprintReadWrite)
55 float ISO = 100.0f;
56
60 UPROPERTY(EditAnywhere, BlueprintReadWrite)
61 int32 Width = 1280;
62
66 UPROPERTY(EditAnywhere, BlueprintReadWrite)
67 int32 Height = 720;
68
72 UPROPERTY(EditAnywhere, BlueprintReadWrite)
73 float FocalDistance = 0.0f;
74
78 UPROPERTY(EditAnywhere, BlueprintReadWrite)
79 float DepthBlurAmount = 1.0f;
80
84 UPROPERTY(EditAnywhere, BlueprintReadWrite)
85 float DepthBlurRadius = 0.0f;
86
91 UPROPERTY(EditAnywhere, BlueprintReadWrite)
92 float DofMinFStop = 1.2f;
93
97 UPROPERTY(EditAnywhere, BlueprintReadWrite)
98 int DofBladeCount = 5;
99
103 UPROPERTY(EditAnywhere, BlueprintReadWrite)
104 float FilmSlope = 0.88f;
105
109 UPROPERTY(EditAnywhere, BlueprintReadWrite)
110 float FilmToe = 0.55f;
111
115 UPROPERTY(EditAnywhere, BlueprintReadWrite)
116 float FilmShoulder = 0.26f;
117
121 UPROPERTY(EditAnywhere, BlueprintReadWrite)
122 float FilmBlackClip = 0.0f;
123
127 UPROPERTY(EditAnywhere, BlueprintReadWrite)
128 float FilmWhiteClip = 0.04f;
129
133 UPROPERTY(EditAnywhere, BlueprintReadWrite)
134 float ExposureMinBrightness = -1.5f;
135
139 UPROPERTY(EditAnywhere, BlueprintReadWrite)
140 float ExposureMaxBrightness = 20.0f;
141
145 UPROPERTY(EditAnywhere, BlueprintReadWrite)
146 float ExposureSpeedUp = 10.0f;
147
151 UPROPERTY(EditAnywhere, BlueprintReadWrite)
152 float ExposureSpeedDown = 1.0f;
153
158 UPROPERTY(EditAnywhere, BlueprintReadWrite)
159 float MotionBlurIntensity = 0.0f;
160
165 UPROPERTY(EditAnywhere, BlueprintReadWrite)
166 float MotionBlurMax = 2.0f;
167
173 UPROPERTY(EditAnywhere, BlueprintReadWrite)
174 float MotionBlurMinObjSize = 0.0f;
175
180 UPROPERTY(EditAnywhere, BlueprintReadWrite)
181 float LensFlareIntensity = 0.0f;
182
187 UPROPERTY(EditAnywhere, BlueprintReadWrite)
188 float BloomIntensity = 0.0f;
189
193 UPROPERTY(EditAnywhere, BlueprintReadWrite)
194 float WhiteTemp = 6500.0f;
195
199 UPROPERTY(EditAnywhere, BlueprintReadWrite)
200 float WhiteTint = 0.0f;
201
207 UPROPERTY(EditAnywhere, BlueprintReadWrite)
208 float ChromAberrIntensity = 0.0f;
209
214 UPROPERTY(EditAnywhere, BlueprintReadWrite)
215 float ChromAberrOffset = 0.0f;
216
222 UPROPERTY(EditAnywhere, BlueprintReadWrite)
223 float Aperture = 4.0f;
224
228 UPROPERTY(EditAnywhere, BlueprintReadWrite)
229 bool SaveImageToDisk = false;
230
234 UPROPERTY(EditAnywhere, BlueprintReadWrite)
235 bool SendDataToROS = true;
236
246 UPROPERTY(EditAnywhere, BlueprintReadWrite)
247 float TargetFrameRate = 0.0f;
248
253 UPROPERTY(EditAnywhere, BlueprintReadWrite)
254 bool UsePhysicLensDistortionEffect = true;
255
259 UPROPERTY(EditAnywhere, BlueprintReadWrite)
260 bool UseTemporalAA = true;
261
266 UPROPERTY(EditAnywhere, BlueprintReadWrite)
267 bool UseIceLensEffect = false;
268
273 UPROPERTY(EditAnywhere, BlueprintReadWrite)
274 float IceLensEffectStrength = 0.3f;
275
279 UPROPERTY(EditAnywhere, BlueprintReadWrite)
280 float IceLensEffectAngle = 1.0f;
281};