Navigation
API > API/Editor > API/Editor/UnrealEd
Class responsible for managing an in-memory representation of actor folders in the editor
| Name | FActorFolders |
| Type | struct |
| Header File | /Engine/Source/Editor/UnrealEd/Public/EditorActorFolders.h |
| Include Path | #include "EditorActorFolders.h" |
Syntax
struct FActorFolders :
public FGCObject ,
public IActorEditorContextClient
Inheritance Hierarchy
- FGCObject → FActorFolders
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FActorFolders() |
EditorActorFolders.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FActorFolders() |
EditorActorFolders.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| OnFolderCreate | FOnActorFolderCreate | EditorActorFolders.h | |
| OnFolderCreated | FOnActorFolderCreated | Folder creation and deletion events. Called whenever a folder is created or deleted in a world. | EditorActorFolders.h |
| OnFolderDelete | FOnActorFolderDelete | EditorActorFolders.h | |
| OnFolderDeleted | FOnActorFolderDeleted | EditorActorFolders.h | |
| OnFolderMove | FOnActorFolderMove | EditorActorFolders.h | |
| OnFolderMoved | FOnActorFolderMoved | EditorActorFolders.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ActorEditorContextClientChanged | FOnActorEditorContextClientChanged | Delegate used to notify changes to ActorEditorContextSubsystem | EditorActorFolders.h | |
| bAnyLevelsChanged | bool | EditorActorFolders.h | ||
| UWorldFolders | friend | EditorActorFolders.h | ||
| WorldFolders | TMap< TWeakObjectPtr< UWorld >, TObjectPtr< UWorldFolders > > | Transient map of folders, keyed on world pointer | EditorActorFolders.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Return if folder exists | EditorActorFolders.h | ||
bool CreateFolder
(
UWorld& InWorld, |
Create a new folder in the specified world, of the specified path | EditorActorFolders.h | |
void CreateFolder
(
UWorld& InWorld, |
EditorActorFolders.h | ||
void CreateFolderContainingSelection
(
UWorld& InWorld, |
Same as CreateFolder, but moves the current actor selection into the new folder as well | EditorActorFolders.h | |
void CreateFolderContainingSelection
(
UWorld& InWorld, |
EditorActorFolders.h | ||
void DeleteFolder
(
UWorld& InWorld, |
EditorActorFolders.h | ||
void DeleteFolder
(
UWorld& InWorld, |
Delete the specified folder in the world | EditorActorFolders.h | |
void ForEachFolder
(
UWorld& InWorld, |
Iterate on all folders of a world and pass it to the provided operation. | EditorActorFolders.h | |
void ForEachFolderWithRootObject
(
UWorld& InWorld, |
Iterate on all world's folders with the given root object and pass it to the provided operation. | EditorActorFolders.h | |
| EditorActorFolders.h | |||
| Get a new default folder name that would apply to the current selection | EditorActorFolders.h | ||
FFolder GetDefaultFolderName
(
UWorld& InWorld, |
Get a default folder name under the specified parent path | EditorActorFolders.h | |
FName GetDefaultFolderName
(
UWorld& InWorld, |
EditorActorFolders.h | ||
| EditorActorFolders.h | |||
FFolder GetFolderName
(
UWorld& InWorld, |
Get folder name that is unique under specified parent path | EditorActorFolders.h | |
FName GetFolderName
(
UWorld& InWorld, |
EditorActorFolders.h | ||
FActorFolderProps * GetFolderProperties
(
UWorld& InWorld, |
Get the folder properties for the specified path. Returns nullptr if no properties exist | EditorActorFolders.h | |
FActorFolderProps * GetFolderProperties
(
UWorld& InWorld, |
EditorActorFolders.h | ||
| Return the folder expansion state | EditorActorFolders.h | ||
bool IsInitializedForWorld
(
UWorld& InWorld |
Tests whether a folder container exists for the specified world | EditorActorFolders.h | |
void OnFolderRootObjectRemoved
(
UWorld& InWorld, |
Notify that a root object has been removed. Cleanup of existing folders with with root object. | EditorActorFolders.h | |
bool RenameFolderInWorld
(
UWorld& World, |
EditorActorFolders.h | ||
bool RenameFolderInWorld
(
UWorld& InWorld, |
Rename the specified path to a new name | EditorActorFolders.h | |
| EditorActorFolders.h | |||
| Set the folder expansion state | EditorActorFolders.h | ||
void SetSelectedFolderPath
(
FName Path |
EditorActorFolders.h | ||
void SetSelectedFolderPath
(
const FFolder& InFolder |
Sets the folder path for all the selected actors | EditorActorFolders.h |
Overridden from FGCObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddReferencedObjects
(
FReferenceCollector& Collector |
EditorActorFolders.h | ||
virtual FString GetReferencerName() |
EditorActorFolders.h |
Overridden from IActorEditorContextClient
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool CanResetContext
(
UWorld* InWorld |
EditorActorFolders.h | ||
virtual void CaptureActorEditorContextState
(
UWorld* InWorld, |
EditorActorFolders.h | ||
virtual bool GetActorEditorContextDisplayInfo
(
UWorld* InWorld, |
EditorActorFolders.h | ||
virtual TSharedRef< SWidget > GetActorEditorContextWidget
(
UWorld* InWorld |
EditorActorFolders.h | ||
virtual FOnActorEditorContextClientChanged & GetOnActorEditorContextClientChanged() |
EditorActorFolders.h | ||
virtual void OnExecuteActorEditorContextAction
(
UWorld* InWorld, |
EditorActorFolders.h | ||
virtual void RestoreActorEditorContextState
(
UWorld* InWorld, |
EditorActorFolders.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void ForEachActorDescInFolders
(
UWorld& InWorld, |
EditorActorFolders.h | ||
static void ForEachActorDescInstanceInFolders
(
UWorld& InWorld, |
Apply an operation to each actor desc in the given list of folders. | EditorActorFolders.h | |
static void ForEachActorInFolders
(
UWorld& InWorld, |
EditorActorFolders.h | ||
static void ForEachActorInFolders
(
UWorld& InWorld, |
Apply an operation to each actor in the given list of folders. | EditorActorFolders.h | |
static FActorFolders & Get() |
Singleton access | EditorActorFolders.h | |
static FFolder GetActorDescFolder
(
UWorld& InWorld, |
EditorActorFolders.h | ||
static FFolder GetActorDescInstanceFolder
(
UWorld& InWorld, |
EditorActorFolders.h | ||
| Get an array of actors from a list of folders | EditorActorFolders.h | ||
static void GetActorsFromFolders
(
UWorld& InWorld, |
EditorActorFolders.h | ||
static void GetWeakActorsFromFolders
(
UWorld& InWorld, |
Get an array of weak actor pointers from a list of folders | EditorActorFolders.h | |
static void GetWeakActorsFromFolders
(
UWorld& InWorld, |
EditorActorFolders.h | ||
static FFolder::FRootObject GetWorldFolderRootObject
(
UWorld& InWorld |
EditorActorFolders.h |