UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
ARLightEstimate.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "Math/Color.h"
6#include "Math/MathFwd.h"
7#include "UObject/Object.h"
10
11#include "ARLightEstimate.generated.h"
12
13#define UE_API AUGMENTEDREALITY_API
14
15struct FFrame;
16
17
18UCLASS(BlueprintType, Experimental, Category="AR AugmentedReality|Light Estimation")
23
24UCLASS(MinimalAPI, BlueprintType, Category = "AR AugmentedReality|Light Estimation")
26{
28
29public:
30 UE_API void SetLightEstimate(float InAmbientIntensityLumens, float InColorTemperatureKelvin);
31
32 UE_API void SetLightEstimate(FVector InRGBScaleFactor, float InPixelIntensity);
33
34 UE_API void SetLightEstimate(float InColorTemperatureKelvin, FLinearColor InAmbientColor);
35
36 UFUNCTION(BlueprintPure, Category = "AR AugmentedReality|Light Estimation")
37 UE_API float GetAmbientIntensityLumens() const;
38
39 UFUNCTION(BlueprintPure, Category = "AR AugmentedReality|Light Estimation")
40 UE_API float GetAmbientColorTemperatureKelvin() const;
41
42 UFUNCTION(BlueprintPure, Category = "AR AugmentedReality|Light Estimation")
43 UE_API FLinearColor GetAmbientColor() const;
44
45private:
46 UPROPERTY()
47 float AmbientIntensityLumens;
48
49 UPROPERTY()
50 float AmbientColorTemperatureKelvin;
51
52 UPROPERTY()
53 FLinearColor AmbientColor;
54};
55
56#undef UE_API
#define UE_API
Definition ARLightEstimate.h:13
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define UPROPERTY(...)
UObject definition macros.
Definition ObjectMacros.h:744
#define GENERATED_BODY(...)
Definition ObjectMacros.h:765
#define UFUNCTION(...)
Definition ObjectMacros.h:745
#define UCLASS(...)
Definition ObjectMacros.h:776
Definition ARLightEstimate.h:26
Definition ARLightEstimate.h:20
Definition Object.h:95
Definition RobinHoodHashTable.h:18
Definition Stack.h:114
Definition Color.h:48