Navigation
Unreal Engine C++ API Reference > Editor > UnrealEd
Inheritance Hierarchy
- FGCObject
- IActorEditorContextClient
- FActorFolders
References
Module | UnrealEd |
Header | /Engine/Source/Editor/UnrealEd/Public/EditorActorFolders.h |
Include | #include "EditorActorFolders.h" |
Syntax
struct FActorFolders :
public FGCObject,
public IActorEditorContextClient
Remarks
Class responsible for managing an in-memory representation of actor folders in the editor
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
bool | ContainsFolder
(
UWorld& InWorld, |
Return if folder exists |
![]() |
bool | CreateFolder
(
UWorld& InWorld, |
Create a new folder in the specified world, of the specified path |
![]() |
void | CreateFolderContainingSelection
(
UWorld& InWorld, |
Same as CreateFolder, but moves the current actor selection into the new folder as well |
![]() |
void | DeleteFolder
(
UWorld& InWorld, |
Delete the specified folder in the world |
![]() ![]() |
void | ForEachActorDescInFolders
(
UWorld& InWorld, |
Apply an operation to each actor desc in the given list of folders. |
![]() ![]() |
void | ForEachActorInFolders
(
UWorld& InWorld, |
Apply an operation to each actor in the given list of folders. |
![]() ![]() |
void | ForEachActorInFolders
(
UWorld& InWorld, |
Apply an operation to each actor in the given list of folders. |
![]() |
void | ForEachFolder
(
UWorld& InWorld, |
Iterate on all folders of a world and pass it to the provided operation. |
![]() |
void | ForEachFolderWithRootObject
(
UWorld& InWorld, |
Iterate on all world's folders with the given root object and pass it to the provided operation. |
![]() ![]() |
FActorFolders & | Get () |
Singleton access |
![]() ![]() |
FFolder | GetActorDescFolder
(
UWorld& InWorld, |
|
![]() ![]() |
FFolder | GetActorEditorContextFolder
(
UWorld& InWorld, |
|
![]() ![]() |
void | GetActorsFromFolders
(
UWorld& InWorld, |
Get an array of actors from a list of folders |
![]() ![]() |
void | GetActorsFromFolders
(
UWorld& InWorld, |
Get an array of actors from a list of folders |
![]() |
FFolder | GetDefaultFolderForSelection
(
UWorld& InWorld, |
Get a new default folder name that would apply to the current selection |
![]() |
FFolder | GetDefaultFolderName
(
UWorld& InWorld, |
Get a default folder name under the specified parent path |
![]() |
FFolder | GetFolderName
(
UWorld& InWorld, |
Get folder name that is unique under specified parent path |
![]() |
FActorFolderProps * | GetFolderProperties
(
UWorld& InWorld, |
Get the folder properties for the specified path. Returns nullptr if no properties exist |
![]() ![]() |
void | GetWeakActorsFromFolders
(
UWorld& InWorld, |
Get an array of weak actor pointers from a list of folders |
![]() ![]() |
void | GetWeakActorsFromFolders
(
UWorld& InWorld, |
Get an array of weak actor pointers from a list of folders |
![]() |
bool | IsFolderExpanded
(
UWorld& InWorld, |
Return the folder expansion state |
![]() ![]() |
bool | IsInitializedForWorld
(
UWorld& InWorld |
Tests whether a folder container exists for the specified world |
![]() |
void | OnFolderRootObjectRemoved
(
UWorld& InWorld, |
Notify that a root object has been removed. Cleanup of existing folders with with root object. |
![]() |
bool | RenameFolderInWorld
(
UWorld& InWorld, |
Rename the specified path to a new name |
![]() |
void | SetActorEditorContextFolder
(
UWorld& InWorld, |
|
![]() |
void | SetIsFolderExpanded
(
UWorld& InWorld, |
Set the folder expansion state |
![]() ![]() |
void | SetSelectedFolderPath
(
const FFolder& InFolder |
Sets the folder path for all the selected actors |
Overridden from FGCObject
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | AddReferencedObjects
(
FReferenceCollector& Collector |
Pure virtual that must be overloaded by the inheriting class. |
![]() ![]() ![]() |
FString | Overload this method to report a name for your referencer |
Overridden from IActorEditorContextClient
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
bool | CanResetContext
(
UWorld* InWorld |
|
![]() ![]() ![]() |
bool | GetActorEditorContextDisplayInfo
(
UWorld* InWorld, |
|
![]() ![]() ![]() |
TSharedRef< SWidget > | GetActorEditorContextWidget
(
UWorld* InWorld |
|
![]() ![]() |
FOnActorEditorContextClientChanged & | ||
![]() ![]() |
void | OnExecuteActorEditorContextAction
(
UWorld* InWorld, |
Constants
Name | Description |
---|---|
OnFolderCreate | |
OnFolderCreated | Folder creation and deletion events. Called whenever a folder is created or deleted in a world. |
OnFolderDelete | |
OnFolderDeleted | |
OnFolderMove | |
OnFolderMoved |
Deprecated Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | CreateFolder
(
UWorld& InWorld, |
CreateFolder using FName has been deprecated. Please use new interface using FFolder. |
![]() |
void | CreateFolderContainingSelection
(
UWorld& InWorld, |
CreateFolderContainingSelection using FName has been deprecated. Please use new interface using FFolder. |
![]() |
void | DeleteFolder
(
UWorld& InWorld, |
DeleteFolder using FName has been deprecated. Please use new interface using FFolder. |
![]() |
FName | GetDefaultFolderName
(
UWorld& InWorld, |
GetDefaultFolderName using FName has been deprecated. Please use new interface using FFolder. |
![]() |
FName | GetDefaultFolderNameForSelection
(
UWorld& InWorld |
GetDefaultFolderNameForSelection using FName has been deprecated. Please use new interface using FFolder. |
![]() |
FName | GetFolderName
(
UWorld& InWorld, |
GetFolderName using FName has been deprecated. Please use new interface using FFolder. |
![]() |
FActorFolderProps * | GetFolderProperties
(
UWorld& InWorld, |
GetFolderProperties using FName has been deprecated. Please use new interface using FFolder. |
![]() |
bool | RenameFolderInWorld
(
UWorld& World, |
RenameFolderInWorld using FName has been deprecated. Please use new interface using FFolder. |
![]() ![]() |
void | SetSelectedFolderPath
(
FName Path |
SetSelectedFolderPath using FName has been deprecated. Please use new interface using FFolder. |