UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
HLODEngineSubsystem.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
6#include "Engine/World.h"
7#include "HLODEngineSubsystem.generated.h"
8
9UCLASS(MinimalAPI)
11{
13
14#if WITH_EDITOR
15
16public:
17 //~ Begin USubsystem Interface.
19 ENGINE_API virtual void Deinitialize() override;
20 //~ End USubsystem Interface.
21
27
33
39
45
46 // Should be called when the "Save LOD Actors to HLOD Packages" option is toggled.
48
49private:
50 // Recreate LOD actors for all levels in the provided world.
52
53 // Recreate LOD actors for the given level.
55
56 void OnPreSaveWorld(UWorld* InWorld, FObjectPreSaveContext ObjectSaveContext);
57
60
61 bool CleanupHLOD(class ALODActor* InLODActor);
62
63private:
67
70
71#endif // WITH_EDITOR
72};
73
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define GENERATED_BODY(...)
Definition ObjectMacros.h:765
#define UCLASS(...)
Definition ObjectMacros.h:776
Definition LODActor.h:70
Definition IDelegateInstance.h:14
Definition ObjectSaveContext.h:244
Definition SubsystemCollection.h:15
Definition EngineSubsystem.h:22
Definition HLODEngineSubsystem.h:11
Definition Level.h:423
Definition World.h:918
Definition WorldInitializationValues.h:9