Navigation
API > API/Editor > API/Editor/SceneOutliner
A tree item that represents a level in the world
| Name | FLevelTreeItem |
| Type | struct |
| Header File | /Engine/Source/Editor/SceneOutliner/Public/LevelTreeItem.h |
| Include Path | #include "LevelTreeItem.h" |
Syntax
struct FLevelTreeItem : public ISceneOutlinerTreeItem
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FLevelTreeItem
(
ULevel* InLevel |
Construct this item from a level | LevelTreeItem.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FFilterPredicate | TBaseDelegate_OneParam< bool, const ULevel * > | LevelTreeItem.h | |
| FInteractivePredicate | TBaseDelegate_OneParam< bool, const ULevel * > | LevelTreeItem.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| Type | const FSceneOutlinerTreeItemType | Static type identifier for this tree item class | LevelTreeItem.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ID | const FObjectKey | Constant identifier for this tree item | LevelTreeItem.h | |
| Level | TWeakObjectPtr< ULevel > | The level this tree item is associated with. | LevelTreeItem.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool Filter
(
FFilterPredicate Pred |
LevelTreeItem.h | ||
bool GetInteractiveState
(
FInteractivePredicate Pred |
LevelTreeItem.h |
Overridden from ISceneOutlinerTreeItem
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool CanInteract() |
Check whether it should be possible to interact with this tree item | LevelTreeItem.h | |
virtual void GenerateContextMenu
(
UToolMenu* Menu, |
Generate a context menu for this item. Only called if only this item is selected. | LevelTreeItem.h | |
virtual TSharedRef< SWidget > GenerateLabelWidget
(
ISceneOutliner& Outliner, |
Generate the label widget for this item | LevelTreeItem.h | |
virtual FString GetDisplayString() |
Get the raw string to display for this tree item - used for sorting | LevelTreeItem.h | |
virtual FSceneOutlinerTreeItemID GetID() |
Get the ID that represents this tree item. Used to reference this item in a map | LevelTreeItem.h | |
virtual bool IsValid() |
Begin ISceneOutlinerTreeItem Implementation | LevelTreeItem.h |