Navigation
API > API/Editor > API/Editor/SceneOutliner
Inheritance Hierarchy
- TSharedFromThis
- ISceneOutlinerTreeItem
- FFolderTreeItem
- FActorFolderTreeItem
- FObjectMixerEditorListRowFolder
References
| Module | SceneOutliner |
| Header | /Engine/Source/Editor/SceneOutliner/Public/FolderTreeItem.h |
| Include | #include "FolderTreeItem.h" |
Syntax
struct FFolderTreeItem : public ISceneOutlinerTreeItem
Remarks
A tree item that represents a folder in the world
Variables
| Type | Name | Description | |
|---|---|---|---|
| FName | LeafName | The leaf name of this folder | |
| FName | Path | The path of this folder. / separated. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FFolderTreeItem
(
const FFolder& InFolder |
|||
FFolderTreeItem
(
FName InPath |
Constructor that takes a path to this folder (including leaf-name) | ||
FFolderTreeItem
(
const FFolder& InFolder, |
|||
FFolderTreeItem
(
FName InPath, |
Constructor that takes a path to this folder and a subclass tree item type (used for subclassing FFolderTreeItem) |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Delete this folder, children will be reparented to provided new parent path | ||
| bool | Filter
(
FFilterPredicate Pred |
||
| FFolder | GetFolder () |
||
| bool | GetInteractiveState
(
FInteractivePredicate Pred |
||
| const FName & | GetLeafName () |
||
| const FName & | GetPath () |
||
| void | Move this folder to a new parent | ||
| void |
Overridden from ISceneOutlinerTreeItem
| Type | Name | Description | |
|---|---|---|---|
| bool | CanInteract () |
Check whether it should be possible to interact with this tree item | |
| void | GenerateContextMenu
(
UToolMenu* Menu, |
Generate a context menu for this item. Only called if only this item is selected. | |
| FString | Get the raw string to display for this tree item - used for sorting | ||
| FSceneOutlinerTreeItemID | GetID () |
Get the ID that represents this tree item. Used to reference this item in a map | |
| FFolder::FRootObject | Get the optional context object root of a tree item. | ||
| bool | Returns true if this item can set its own pinned state | ||
| bool | IsValid () |
Begin ISceneOutlinerTreeItem Implementation | |
| bool | Returns true if this item should show pinned state |
Typedefs
| Name | Description |
|---|---|
| FFilterPredicate | |
| FInteractivePredicate |
Constants
| Name | Description |
|---|---|
| Type | Static type identifier for this tree item class |