Navigation
API > API/Editor > API/Editor/WorldBrowser
Inheritance Hierarchy
- IDropTarget
- TSharedFromThis
- IWorldTreeItem
References
| Module | WorldBrowser |
| Header | /Engine/Source/Editor/WorldBrowser/Public/IWorldTreeItem.h |
| Include | #include "IWorldTreeItem.h" |
Syntax
struct IWorldTreeItem :
public WorldHierarchy::IDropTarget,
public TSharedFromThis< IWorldTreeItem >
Remarks
Base tree item interface for the World Browser
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< FWorldTreeItemPtr > | Children | The children of this tree item, if any | |
| FlagsType | Flags | ||
| FWorldTreeItemPtr | Parent | The parent of this tree item. Can be null. | |
| FOnRenameRequest | RenameRequestEvent | ||
| friend | SWorldHierarchy | ||
| TWeakPtr< FLevelCollectionModel > | WorldModel |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddChild
(
FWorldTreeItemRef Child |
||
| void | AppendLevelModels
(
FLevelModelList& OutLevelModels |
Appends all level models for this tree item to the supplied array | |
| bool | CanBeCurrent () |
Can this ever become the current item? | |
| bool | Returns true if this item can have its parent changed | ||
| bool | Returns true if the item can have children | ||
| bool | CanSave () |
Can this item be saved? | |
| FWorldTreeItemPtr | CreateParent () |
Create the parent item for this item, if it should have one | |
| void | GenerateContextMenu
(
UToolMenu* Menu, |
Generates a context menu option for this item if and only if it's the only item selected in the hierarchy | |
| TSet< FName > | Gets the set of all ancestor paths for this item | ||
| FFolderTreeItem * | |||
| FLevelModelTreeItem * | |||
| const TArray< FWorldTreeItemPtr > & | GetChildren () |
||
| FString | Gets the display string for this item | ||
| FLinearColor | GetDrawColor () |
Gets the draw color for the item | |
| const FSlateBrush * | |||
| float | |||
| FWorldTreeItemID | GetID () |
Gets the ID for this tree item | |
| FLevelModelList | Gets all level models for this tree item and its children | ||
| bool | |||
| FText | Gets the tooltip for this item's lock icon | ||
| FLevelModelList | GetModel () |
Gets the level model for this item, excluding its children | |
| FString | Gets the filename of the package for this item, if one exists | ||
| FWorldTreeItemPtr | GetParent () |
||
| FWorldTreeItemID | GetParentID () |
Gets the ID of the parent item, even if it is not yet constructed | |
| TSharedPtr< FLevelModel > | GetRootItem () |
||
| FText | Gets the tooltip text for this item's save icon | ||
| int32 | Gets the sort priority of the item. A higher value means it will appear first in the list | ||
| FText | Gets the tooltip for this item | ||
| FText | Gets the tooltip for this item's visibility icon | ||
| bool | Does this item have color button controls? | ||
| bool | HasKismet () |
Does this item have Kismet controls? | |
| bool | Does this item have lighting controls? | ||
| bool | Can the lock state on this item be toggled? | ||
| bool | HasModel
(
TSharedPtr< FLevelModel > InLevelModel |
Returns true if this item has an associated level model with it | |
| bool | Does the item have a valid package? | ||
| bool | Can visibility on this item be toggled? | ||
| bool | IsCurrent () |
Is this the current item? | |
| bool | IsDirty () |
Is the item dirty? | |
| bool | |||
| bool | IsLoaded () |
Is the item loaded? | |
| bool | IsLocked () |
||
| bool | IsReadOnly () |
Is the item read-only? | |
| bool | IsTransient () |
Is the item transient? | |
| bool | IsVisible () |
||
| void | MakeCurrent () |
Make this item the current item | |
| void | |||
| void | |||
| void | OnOpenKismet () |
||
| void | OnSave () |
||
| void | |||
| void | |||
| void | |||
| void | OnToggleLock () |
||
| void | |||
| void | PopulateLevelModelList
(
FLevelModelList& InModelList |
||
| void | |||
| void | RemoveChild
(
const FWorldTreeItemRef& Child |
||
| void | SetDrawColor
(
const FLinearColor& Color |
||
| void | SetExpansion
(
bool bExpanded |
Sets the item's expansion state | |
| void | SetLocked
(
bool bLocked |
Sets the item's locked status | |
| void | SetParentPath
(
const FName& InParentPath |
Changes the parent path of this item, without changing the name of this item | |
| void | SetVisible
(
bool bVisible |
Sets the item's visible status |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FlagsType |
Typedefs
| Name | Description |
|---|---|
| FOnRenameRequest |