UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
AtmosphericFogComponent.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
10
11#if UE_ENABLE_INCLUDE_ORDER_DEPRECATED_IN_5_6
13#endif
14
15#include "AtmosphericFogComponent.generated.h"
16
20UCLASS(ClassGroup=Rendering, collapsecategories, hidecategories=(Object, Mobility, Activation, "Components|Activation"), editinlinenew, meta=(BlueprintSpawnableComponent), MinimalAPI, notplaceable)
21class UE_DEPRECATED(4.26, "Please use the SkyAtmosphere component instead.") UAtmosphericFogComponent : public USkyAtmosphereComponent
22{
24
26
28 UFUNCTION(BlueprintCallable, Category = "Rendering|Components|AtmosphericFog")
30
32 UFUNCTION(BlueprintCallable, Category = "Rendering|Components|AtmosphericFog")
34
36 UFUNCTION(BlueprintCallable, Category = "Rendering|Components|AtmosphericFog")
38
40 UFUNCTION(BlueprintCallable, Category = "Rendering|Components|AtmosphericFog")
42
44 UFUNCTION(BlueprintCallable, Category = "Rendering|Components|AtmosphericFog")
46
48 UFUNCTION(BlueprintCallable, Category = "Rendering|Components|AtmosphericFog")
50
52 UFUNCTION(BlueprintCallable, Category = "Rendering|Components|AtmosphericFog")
54
56 UFUNCTION(BlueprintCallable, Category = "Rendering|Components|AtmosphericFog")
58
60 UFUNCTION(BlueprintCallable, Category = "Rendering|Components|AtmosphericFog")
62
64 UFUNCTION(BlueprintCallable, Category = "Rendering|Components|AtmosphericFog")
66
68 UFUNCTION(BlueprintCallable, Category = "Rendering|Components|AtmosphericFog")
70
72 UFUNCTION(BlueprintCallable, Category = "Rendering|Components|AtmosphericFog")
74
76 UFUNCTION(BlueprintCallable, Category = "Rendering|Components|AtmosphericFog")
78
79protected:
80
81public:
82
83protected:
84
85public:
86
87 //~ Begin UObject Interface.
88 virtual bool IsPostLoadThreadSafe() const override;
89 virtual void Serialize(FArchive& Ar) override;
90 //~ End UObject Interface;
91
92private:
93
94};
ENGINE_API void SetDefaultLightColor(FLinearColor NewLightColor)
Definition AtmosphericFogComponent.h:33
ENGINE_API void SetDensityMultiplier(float NewDensityMultiplier)
Definition AtmosphericFogComponent.h:45
ENGINE_API void SetDensityOffset(float NewDensityOffset)
Definition AtmosphericFogComponent.h:49
virtual bool IsPostLoadThreadSafe() const override
ENGINE_API void SetDistanceScale(float NewDistanceScale)
Definition AtmosphericFogComponent.h:53
ENGINE_API void SetSunMultiplier(float NewSunMultiplier)
Definition AtmosphericFogComponent.h:37
Please use the SkyAtmosphere component instead UAtmosphericFogComponent
Definition AtmosphericFogComponent.h:25
ENGINE_API void DisableGroundScattering(bool NewGroundScattering)
Definition AtmosphericFogComponent.h:73
ENGINE_API void SetStartDistance(float NewStartDistance)
Definition AtmosphericFogComponent.h:61
ENGINE_API void SetFogMultiplier(float NewFogMultiplier)
Definition AtmosphericFogComponent.h:41
ENGINE_API void SetDistanceOffset(float NewDistanceOffset)
Definition AtmosphericFogComponent.h:65
ENGINE_API void SetAltitudeScale(float NewAltitudeScale)
Definition AtmosphericFogComponent.h:57
ENGINE_API void SetDefaultBrightness(float NewBrightness)
Definition AtmosphericFogComponent.h:29
ENGINE_API void SetPrecomputeParams(float DensityHeight, int32 MaxScatteringOrder, int32 InscatterAltitudeSampleNum)
Definition AtmosphericFogComponent.h:77
ENGINE_API void DisableSunDisk(bool NewSunDisk)
Definition AtmosphericFogComponent.h:69
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define UFUNCTION(...)
Definition ObjectMacros.h:745
#define GENERATED_UCLASS_BODY(...)
Definition ObjectMacros.h:768
#define UCLASS(...)
Definition ObjectMacros.h:776
Definition Archive.h:1208
Definition UnrealType.h:3087
Definition Color.h:48