UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
ILevelInstanceEditorModule.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2#pragma once
3
4#include "CoreMinimal.h"
7
9
14{
15public:
17
18 UE_DEPRECATED(5.5, "This method is deprecated.")
20 UE_DEPRECATED(5.5, "This method is deprecated.")
22
23 virtual void BroadcastTryExitEditorMode() = 0;
24
28
31
32 virtual bool IsEditInPlaceStreamingEnabled() const = 0;
33 virtual bool IsSubSelectionEnabled() const = 0;
34
36
37protected:
40
41 // Called by ULevelInstanceSubsystem to update if the Editor Mode should be active or not
42 virtual void UpdateEditorMode(bool bActivated) = 0;
43
44 // Policy Proxy so that ULevelStreamingLevelInstanceEditorPropertyOverride can register policies through this module without knowing about PropertyEditor module
46 {
47 public:
48 virtual UObject* GetArchetypeForObject(const UObject* Object) const = 0;
49
50 virtual bool CanEditProperty(const FEditPropertyChain& PropertyChain, const UObject* Object) const = 0;
51 virtual bool CanEditProperty(const FProperty* Property, const UObject* Object) const = 0;
52 };
53
54 virtual UObject* GetArchetype(const UObject* Object) = 0;
55
56 virtual bool IsPropertyEditConst(const FEditPropertyChain& PropertyChain, UObject* Object) = 0;
58
60};
#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
Definition UnrealType.h:6738
Definition UnrealType.h:174
Definition ILevelInstanceEditorModule.h:46
virtual UObject * GetArchetypeForObject(const UObject *Object) const =0
virtual bool CanEditProperty(const FProperty *Property, const UObject *Object) const =0
virtual bool CanEditProperty(const FEditPropertyChain &PropertyChain, const UObject *Object) const =0
Definition ILevelInstanceEditorModule.h:14
DECLARE_EVENT(ILevelInstanceEditorModule, FTryExitEditorModeEvent)
virtual ~ILevelInstanceEditorModule()
Definition ILevelInstanceEditorModule.h:16
virtual bool IsPropertyEditConst(const FEditPropertyChain &PropertyChain, UObject *Object)=0
virtual void UpdateEditorMode(bool bActivated)=0
virtual void UpdateAllPackedLevelActorsForWorldAsset(const TSoftObjectPtr< UWorld > &InWorldAsset, bool bInLoadedOnly=false)=0
virtual bool IsSubSelectionEnabled() const =0
virtual void SetPropertyOverridePolicy(IPropertyOverridePolicy *Policy)=0
virtual void ActivateEditorMode()
Definition ILevelInstanceEditorModule.h:19
virtual FTryExitEditorModeEvent & OnTryExitEditorMode()=0
virtual bool IsEditInPlaceStreamingEnabled() const =0
virtual UObject * GetArchetype(const UObject *Object)=0
DECLARE_EVENT(ILevelInstanceEditorModule, FExitEditorModeEvent)
virtual void BroadcastTryExitEditorMode()=0
virtual FExitEditorModeEvent & OnExitEditorMode()=0
virtual bool IsPropertyEditConst(const FProperty *Property, UObject *Object)=0
virtual void DeactivateEditorMode()
Definition ILevelInstanceEditorModule.h:21
Definition LevelInstanceInterface.h:33
Definition ModuleInterface.h:14
Definition LevelInstanceSubsystem.h:55
Definition LevelInstanceEditorPropertyOverrideLevelStreaming.h:20
Definition Object.h:95
Definition SoftObjectPtr.h:174