Navigation
API > API/Editor > API/Editor/WorldBrowser
Base tree item interface for the World Browser
| Name | IWorldTreeItem |
| Type | struct |
| Header File | /Engine/Source/Editor/WorldBrowser/Public/IWorldTreeItem.h |
| Include Path | #include "IWorldTreeItem.h" |
Syntax
struct IWorldTreeItem :
public WorldHierarchy::IDropTarget ,
public TSharedFromThis< IWorldTreeItem >
Inheritance Hierarchy
- TSharedFromThis< IWorldTreeItem > → IWorldTreeItem
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
IWorldTreeItem() |
IWorldTreeItem.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IWorldTreeItem() |
IWorldTreeItem.h |
Structs
| Name | Remarks |
|---|---|
| FlagsType |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FOnRenameRequest | TBaseDelegate_NoParams< void > | IWorldTreeItem.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Flags | FlagsType | IWorldTreeItem.h | ||
| RenameRequestEvent | FOnRenameRequest | IWorldTreeItem.h | ||
| SWorldHierarchy | friend | IWorldTreeItem.h | ||
| WorldModel | TWeakPtr< FLevelCollectionModel > | IWorldTreeItem.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddChild
(
FWorldTreeItemRef Child |
IWorldTreeItem.h | ||
void AppendLevelModels
(
FLevelModelList& OutLevelModels |
Appends all level models for this tree item to the supplied array | IWorldTreeItem.h | |
virtual bool CanBeCurrent() |
Can this ever become the current item? | IWorldTreeItem.h | |
bool CanChangeParents() |
Returns true if this item can have its parent changed | IWorldTreeItem.h | |
bool CanHaveChildren() |
Returns true if the item can have children | IWorldTreeItem.h | |
virtual bool CanSave() |
Can this item be saved? | IWorldTreeItem.h | |
FWorldTreeItemPtr CreateParent() |
Create the parent item for this item, if it should have one | IWorldTreeItem.h | |
virtual 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 | IWorldTreeItem.h | |
TSet< FName > GetAncestorPaths() |
Gets the set of all ancestor paths for this item | IWorldTreeItem.h | |
FFolderTreeItem * GetAsFolderTreeItem() |
IWorldTreeItem.h | ||
FLevelModelTreeItem * GetAsLevelModelTreeItem() |
IWorldTreeItem.h | ||
const TArray< FWorldTreeItemPtr > & GetChildren() |
IWorldTreeItem.h | ||
FString GetDisplayString() |
Gets the display string for this item | IWorldTreeItem.h | |
virtual FLinearColor GetDrawColor() |
Gets the draw color for the item | IWorldTreeItem.h | |
FText GetEditorVisibilityToolTipText() |
Gets the tooltip for this item's visibility icon | IWorldTreeItem.h | |
FText GetGameVisibilityToolTipText() |
Gets the tooltip for this item's visibility icon | IWorldTreeItem.h | |
virtual const FSlateBrush * GetHierarchyItemBrush() |
IWorldTreeItem.h | ||
virtual float GetHierarchyItemBrushWidth() |
IWorldTreeItem.h | ||
FWorldTreeItemID GetID() |
Gets the ID for this tree item | IWorldTreeItem.h | |
FLevelModelList GetLevelModels() |
Gets all level models for this tree item and its children | IWorldTreeItem.h | |
virtual bool GetLevelSelectionFlag() |
IWorldTreeItem.h | ||
FText GetLockToolTipText() |
Gets the tooltip for this item's lock icon | IWorldTreeItem.h | |
virtual FLevelModelList GetModel() |
Gets the level model for this item, excluding its children | IWorldTreeItem.h | |
virtual FString GetPackageFileName() |
Gets the filename of the package for this item, if one exists | IWorldTreeItem.h | |
FWorldTreeItemPtr GetParent() |
IWorldTreeItem.h | ||
FWorldTreeItemID GetParentID() |
Gets the ID of the parent item, even if it is not yet constructed | IWorldTreeItem.h | |
TSharedPtr< FLevelModel > GetRootItem() |
IWorldTreeItem.h | ||
FText GetSaveToolTipText() |
Gets the tooltip text for this item's save icon | IWorldTreeItem.h | |
int32 GetSortPriority() |
Gets the sort priority of the item. A higher value means it will appear first in the list | IWorldTreeItem.h | |
FText GetToolTipText() |
Gets the tooltip for this item | IWorldTreeItem.h | |
virtual bool HasColorButtonControls() |
Does this item have color button controls? | IWorldTreeItem.h | |
virtual bool HasEditorVisibilityControls() |
Can visibility on this item be toggled? | IWorldTreeItem.h | |
virtual bool HasGameVisibilityControls() |
Can visibility on this item be toggled? | IWorldTreeItem.h | |
virtual bool HasKismet() |
Does this item have Kismet controls? | IWorldTreeItem.h | |
virtual bool HasLightingControls() |
Does this item have lighting controls? | IWorldTreeItem.h | |
virtual bool HasLockControls() |
Can the lock state on this item be toggled? | IWorldTreeItem.h | |
virtual bool HasModel
(
TSharedPtr< FLevelModel > InLevelModel |
Returns true if this item has an associated level model with it | IWorldTreeItem.h | |
virtual bool HasValidPackage() |
Does the item have a valid package? | IWorldTreeItem.h | |
virtual bool IsCurrent() |
Is this the current item? | IWorldTreeItem.h | |
virtual bool IsDirty() |
Is the item dirty? | IWorldTreeItem.h | |
virtual bool IsLightingScenario() |
IWorldTreeItem.h | ||
virtual bool IsLoaded() |
Is the item loaded? | IWorldTreeItem.h | |
bool IsLocked() |
IWorldTreeItem.h | ||
virtual bool IsReadOnly() |
Is the item read-only? | IWorldTreeItem.h | |
virtual bool IsTransient() |
Is the item transient? | IWorldTreeItem.h | |
bool IsVisibleInEditor() |
IWorldTreeItem.h | ||
bool IsVisibleInGame() |
IWorldTreeItem.h | ||
virtual void MakeCurrent() |
Make this item the current item | IWorldTreeItem.h | |
virtual void OnLockAllButSelected() |
IWorldTreeItem.h | ||
virtual void OnLockOnlySelected() |
IWorldTreeItem.h | ||
virtual void OnOpenKismet() |
IWorldTreeItem.h | ||
virtual void OnSave() |
IWorldTreeItem.h | ||
virtual void OnShowInEditorAllButSelected() |
IWorldTreeItem.h | ||
virtual void OnShowInEditorOnlySelected() |
IWorldTreeItem.h | ||
virtual void OnShowInGameAllButSelected() |
IWorldTreeItem.h | ||
virtual void OnShowInGameOnlySelected() |
IWorldTreeItem.h | ||
virtual void OnToggleEditorVisibility() |
IWorldTreeItem.h | ||
virtual void OnToggleGameVisibility() |
IWorldTreeItem.h | ||
virtual void OnToggleLightingScenario() |
IWorldTreeItem.h | ||
virtual void OnToggleLock() |
IWorldTreeItem.h | ||
virtual void PopulateLevelModelList
(
FLevelModelList& InModelList |
IWorldTreeItem.h | ||
void RemoveAllChildren() |
IWorldTreeItem.h | ||
void RemoveChild
(
const FWorldTreeItemRef& Child |
IWorldTreeItem.h | ||
virtual void SetDrawColor
(
const FLinearColor& Color |
IWorldTreeItem.h | ||
virtual void SetExpansion
(
bool bExpanded |
Sets the item's expansion state | IWorldTreeItem.h | |
void SetLocked
(
bool bLocked |
Sets the item's locked status | IWorldTreeItem.h | |
void SetParentPath
(
const FName& InParentPath |
Changes the parent path of this item, without changing the name of this item | IWorldTreeItem.h | |
void SetVisibleInEditor
(
bool bVisible |
Sets the item's editor visible status | IWorldTreeItem.h | |
void SetVisibleInGame
(
bool bVisible |
Sets the item's game visible status | IWorldTreeItem.h |