Navigation
API > API/Editor > API/Editor/SceneOutliner
Inheritance Hierarchy
- TSharedFromThis
- ISceneOutlinerTreeItem
- FComponentTreeItem
- FObjectMixerEditorListRowComponent
- FContentBundleTreeItem
- FFolderTreeItem
- FActorFolderTreeItem
- FObjectMixerEditorListRowFolder
- FLevelTreeItem
- FObjectMixerEditorListRowUObject
- FWorldPartitionActorFilterItemBase
- FWorldPartitionActorFilterDataLayerItem
- FWorldPartitionActorFilterItem
- FWorldTreeItem
- IActorBaseTreeItem
- FActorDescTreeItem
- FActorTreeItem
- FObjectMixerEditorListRowActor
References
| Module | SceneOutliner |
| Header | /Engine/Source/Editor/SceneOutliner/Public/ISceneOutlinerTreeItem.h |
| Include | #include "ISceneOutlinerTreeItem.h" |
Syntax
struct ISceneOutlinerTreeItem : public TSharedFromThis< ISceneOutlinerTreeItem >
Remarks
Base tree item interface
Variables
| Type | Name | Description | |
|---|---|---|---|
| TSet< TWeakPtr< ISceneOutlinerTreeItem > > | Children | Array of children contained underneath this item | |
| FlagsType | Flags | Flags for this item | |
| TWeakPtr< ISceneOutlinerTreeItem > | Parent | This item's parent, if any. | |
| FOnRenameRequest | RenameRequestEvent | Broadcasts whenever a rename is requested | |
| friend | SSceneOutliner | Friendship required for access to various internals | |
| FSceneOutlinerTreeItemType | TreeType | Tree item type identifier | |
| TWeakPtr< ISceneOutliner > | WeakSceneOutliner | Weak Outliner pointer |
Constructors
| Type | Name | Description | |
|---|---|---|---|
ISceneOutlinerTreeItem
(
FSceneOutlinerTreeItemType InType |
Default constructor |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddChild
(
FSceneOutlinerTreeItemRef Child |
Add a child to this item | |
| bool | CanInteract () |
Check whether it should be possible to interact with this tree item | |
| T * | CastTo () |
Attempt to cast this item to another type if it is of that type. Returns nullptr if it fails | |
| const T * | CastTo () |
Attempt to cast this item to another type if it is of that type. Returns nullptr if it fails | |
| bool | Filter
(
FFilterPredicate Pred |
||
| 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 | |
| const TSet< TWeakPtr< ISceneOutlinerTreeItem > > & | GetChildren () |
Get this item's children, if any. | |
| 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 | GetInteractiveState
(
FInteractivePredicate Pred |
||
| FSceneOutlinerTreeItemPtr | GetParent () |
Get this item's parent. Can be nullptr. | |
| bool | Query the pinned staet of this item. Only called if the item has its own pinned state info | ||
| FFolder::FRootObject | Get the optional context object root of a tree item. | ||
| bool | Query this items visibility state. Only called if the item type has visibility info | ||
| bool | Returns true if this item can set its own pinned state | ||
| bool | Returns true if this item can set its own visibility | ||
| bool | IsA () |
Returns true if this item is of the specified type | |
| bool | IsValid () |
Returns true if the data the item references is valid | |
| void | Called when this item is expanded or collapsed | ||
| void | Called when this item's label has changed | ||
| void | OnVisibilityChanged
(
const bool bNewVisibility |
Called when this items visibility changed | |
| void | RemoveChild
(
const FSceneOutlinerTreeItemRef& Child |
Remove a child from this item | |
| bool | Returns true if this item should show pinned state | ||
| bool | Returns true if this item should show its visibility state |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FlagsType | Flags structure |
Typedefs
| Name | Description |
|---|---|
| FFilterPredicate | |
| FInteractivePredicate | |
| FOnRenameRequest | Delegate for hooking up an inline editable text block to be notified that a rename is requested. |
Constants
| Name | Description |
|---|---|
| Type | Static type identifier for the base class tree item |