UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
ExponentialHeightFog.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"
8#include "ExponentialHeightFog.generated.h"
9
13UCLASS(showcategories=(Movement, Rendering, Transformation, DataLayers), ClassGroup=Fog, MinimalAPI)
15 : public AInfo
16{
18
19 virtual void GetLifetimeReplicatedProps(TArray< FLifetimeProperty > & OutLifetimeProps) const override;
20
21private:
22#if WITH_EDITOR
23 virtual bool ActorTypeSupportsDataLayer() const override { return true; }
24#endif
25
27 UPROPERTY(Category = ExponentialHeightFog, VisibleAnywhere, BlueprintReadOnly, meta = (AllowPrivateAccess = "true"))
29
30public:
31
33 UPROPERTY(replicatedUsing=OnRep_bEnabled)
34 uint32 bEnabled:1;
35
37 UFUNCTION()
38 virtual void OnRep_bEnabled();
39
40
41 //Begin AActor Interface
42 virtual void PostInitializeComponents() override;
43 //End AActor Interface
44
46 class UExponentialHeightFogComponent* GetComponent() const { return Component; }
47};
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 UFUNCTION(...)
Definition ObjectMacros.h:745
#define GENERATED_UCLASS_BODY(...)
Definition ObjectMacros.h:768
#define UCLASS(...)
Definition ObjectMacros.h:776
uint32_t uint32
Definition binka_ue_file_header.h:6
Definition ExponentialHeightFog.h:16
Definition ObjectPtr.h:488