Navigation
API > API/Editor > API/Editor/UnrealEd
Per-World Actor Folders UObject (used to support undo/redo reliably) This class is reserved for low-level Engine use, therefore relevant APIs are marked UE_INTERNAL. The public, non-engine API for Folder operations is through the FActorFolders struct.
| Name | UWorldFolders |
| Type | class |
| Header File | /Engine/Source/Editor/UnrealEd/Public/WorldFolders.h |
| Include Path | #include "WorldFolders.h" |
Syntax
UCLASS (MinimalAPI)
class UWorldFolders : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UWorldFolders
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bQueuedRebuild | bool | WorldFolders.h | ||
| CurrentFolder | FActorPlacementFolder | WorldFolders.h | ||
| CurrentFolderStack | TArray< FActorPlacementFolder > | WorldFolders.h | ||
| DataStorage | UE::Editor::DataStorage::ICoreProvider * | Cache the editor data storage ptr to avoid having to grab it for every operation. | WorldFolders.h | |
| FoldersProperties | TMap< FFolder, FActorFolderProps > | WorldFolders.h | ||
| LoadedStateFoldersProperties | TMap< FFolder, FActorFolderProps > | WorldFolders.h | ||
| OnDataStorageInitialized | FDelegateHandle | Delegate run when TEDS is first initialized | WorldFolders.h | |
| PendingTEDSRegistrations | TSet< FFolder > | Folders queued for TEDS registration because they were added before DataStorage became available. | WorldFolders.h | |
| PersistentFolders | TUniquePtr< FWorldPersistentFolders > | WorldFolders.h | ||
| PreUndoFolders | TSet< FFolder > | Cached list of folders before an undo/redo operation. | WorldFolders.h | |
| TransientFolders | TUniquePtr< FWorldTransientFolders > | WorldFolders.h | ||
| World | TWeakObjectPtr< UWorld > | WorldFolders.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool AddFolder
(
const FFolder& InFolder |
WorldFolders.h | ||
bool ContainsFolder
(
const FFolder& InFolder |
WorldFolders.h | ||
void ForEachFolder
(
TFunctionRef< bool(const FFolder&)> Operation |
WorldFolders.h | ||
void ForEachFolderWithRootObject
(
const FFolder::FRootObject& InFolderRootObject, |
WorldFolders.h | ||
FFolder GetActorEditorContextFolder
(
bool bMustMatchCurrentLevel |
WorldFolders.h | ||
FActorFolderProps * GetFolderProperties
(
const FFolder& InFolder |
WorldFolders.h | ||
UWorld * GetWorld() |
WorldFolders.h | ||
void Initialize
(
UWorld* InWorld |
WorldFolders.h | ||
bool IsFolderExpanded
(
const FFolder& InFolder |
WorldFolders.h | ||
void OnRemoved() |
Internal function called when this object is removed from the FActorFolders bookkeeping (when the owning world is destroyed) | WorldFolders.h | |
void PopActorEditorContext() |
WorldFolders.h | ||
void PushActorEditorContext
(
bool bDuplicateContext |
WorldFolders.h | ||
void RebuildList() |
WorldFolders.h | ||
bool RemoveFolder
(
const FFolder& InFolder, |
WorldFolders.h | ||
| WorldFolders.h | |||
void SaveState() |
WorldFolders.h | ||
bool SetActorEditorContextFolder
(
const FFolder& InFolder |
WorldFolders.h | ||
bool SetIsFolderExpanded
(
const FFolder& InFolder, |
WorldFolders.h |
Public Virtual
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostEditUndo() |
WorldFolders.h | ||
virtual void PreEditUndo() |
WorldFolders.h | ||
virtual void Serialize
(
FArchive& Ar |
WorldFolders.h |