Navigation
API > API/Editor > API/Editor/SceneOutliner
Inheritance Hierarchy
- TSharedFromThis
- ISceneOutlinerTreeItem
- FLevelTreeItem
References
| Module | SceneOutliner |
| Header | /Engine/Source/Editor/SceneOutliner/Public/LevelTreeItem.h |
| Include | #include "LevelTreeItem.h" |
Syntax
struct FLevelTreeItem : public ISceneOutlinerTreeItem
Remarks
A tree item that represents a level in the world
Variables
| Type | Name | Description | |
|---|---|---|---|
| const FObjectKey | ID | Constant identifier for this tree item | |
| TWeakObjectPtr< ULevel > | Level | The level this tree item is associated with. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FLevelTreeItem
(
ULevel* InLevel |
Construct this item from a level |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | Filter
(
FFilterPredicate Pred |
||
| bool | GetInteractiveState
(
FInteractivePredicate Pred |
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 |