Navigation
API > API/Editor > API/Editor/SceneOutliner
Inheritance Hierarchy
- TSharedFromThis
- ISceneOutlinerTreeItem
- FWorldTreeItem
References
| Module | SceneOutliner |
| Header | /Engine/Source/Editor/SceneOutliner/Public/WorldTreeItem.h |
| Include | #include "WorldTreeItem.h" |
Syntax
struct FWorldTreeItem : public ISceneOutlinerTreeItem
Remarks
A tree item that represents an entire world
Variables
| Type | Name | Description | |
|---|---|---|---|
| const FObjectKey | ID | Constant identifier for this tree item | |
| TWeakObjectPtr< UWorld > | World | The world this tree item is associated with. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FWorldTreeItem
(
UWorld* InWorld |
Construct this item from a world | ||
FWorldTreeItem
(
TWeakObjectPtr< UWorld > InWorld |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | Filter
(
FFilterPredicate Pred |
||
| bool | GetInteractiveState
(
FInteractivePredicate Pred |
||
| FString | GetWorldName () |
Get just the name of the world, for tooltip use | |
| void | Open the world settings for the contained world |
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. | |
| TSharedRef< SWidget > | GenerateLabelWidget
(
ISceneOutliner& Outliner, |
Generate the label widget for this item | |
| 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 | |
| bool | IsValid () |
Begin ISceneOutlinerTreeItem Implementation |
Typedefs
| Name | Description |
|---|---|
| FFilterPredicate | |
| FInteractivePredicate |
Constants
| Name | Description |
|---|---|
| Type | Static type identifier for this tree item class |