UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
LevelInstanceSettings.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2#pragma once
3
4#include "CoreFwd.h"
8#include "LevelInstanceSettings.generated.h"
9
10#define UE_API ENGINE_API
11
12UCLASS(MinimalAPI, config = Engine, defaultconfig)
14{
16
17public:
19
20 static ULevelInstanceSettings* Get() { return CastChecked<ULevelInstanceSettings>(ULevelInstanceSettings::StaticClass()->GetDefaultObject()); }
21
22#if WITH_EDITOR
25
26 UE_DEPRECATED(5.5, "Use SetIsLevelInstanceDisabled instead.")
28 void SetIsLevelInstanceDisabled(bool bValue) { bIsLevelInstanceDisabled = bValue; }
30private:
31 friend class ULevelInstanceSubsystem;
33
35 ULevelInstancePropertyOverridePolicy* GetPropertyOverridePolicy() const { return PropertyOverridePolicy; }
36#endif
37
38protected:
39 // Keep out of WITH_EDITORONLY_DATA so that it can be properly set in -game
40 UPROPERTY(config)
41 FString PropertyOverridePolicyClass;
42
43#if WITH_EDITORONLY_DATA
46
49#endif
50};
51
52#undef UE_API
OODEFFUNC typedef void(OODLE_CALLBACK t_fp_OodleCore_Plugin_Free)(void *ptr)
#define UE_DEPRECATED(Version, Message)
Definition CoreMiscDefines.h:302
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define UE_API
Definition LevelInstanceSettings.h:10
#define UPROPERTY(...)
UObject definition macros.
Definition ObjectMacros.h:744
#define GENERATED_BODY(...)
Definition ObjectMacros.h:765
#define UCLASS(...)
Definition ObjectMacros.h:776
Definition Engine.Build.cs:7
Definition LevelInstancePropertyOverridePolicy.h:13
Definition LevelInstanceSettings.h:14
static ULevelInstanceSettings * Get()
Definition LevelInstanceSettings.h:20
Definition LevelInstanceSubsystem.h:55
Definition LevelInstanceEditorPropertyOverrideLevelStreaming.h:20
Definition Object.h:95
Definition ObjectPtr.h:488