Navigation
API > API/Editor > API/Editor/SceneOutliner
Inheritance Hierarchy
- TSharedFromThis
- ISceneOutlinerTreeItem
- IActorBaseTreeItem
- FActorTreeItem
- FObjectMixerEditorListRowActor
References
| Module | SceneOutliner |
| Header | /Engine/Source/Editor/SceneOutliner/Public/ActorTreeItem.h |
| Include | #include "ActorTreeItem.h" |
Syntax
struct FActorTreeItem : public IActorBaseTreeItem
Remarks
A tree item that represents an actor in the world
Variables
| Type | Name | Description | |
|---|---|---|---|
| TWeakObjectPtr< AActor > | Actor | The actor this tree item is associated with. | |
| bool | bExistsInCurrentWorldAndPIE | True if this item exists in both the current world and PIE. | |
| FString | DisplayString | Cached display string | |
| const FObjectKey | ID | Constant identifier for this tree item |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FActorTreeItem
(
AActor* InActor |
Construct this item from an actor |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | Filter
(
FFilterPredicate Pred |
||
| bool | GetInteractiveState
(
FInteractivePredicate Pred |
||
| void |
Overridden from IActorBaseTreeItem
| Type | Name | Description | |
|---|---|---|---|
| const FGuid & | GetGuid () |
Begin IActorBaseTreeItem Implementation |
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 | 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 | IsValid () |
Begin ISceneOutlinerTreeItem Implementation | |
| void | Called when this item's label has changed | ||
| void | OnVisibilityChanged
(
const bool bNewVisibility |
Called when this items visibility changed | |
| bool | Returns true if this item should show pinned state | ||
| bool | Returns true if this item should show its visibility state |
Typedefs
| Name | Description |
|---|---|
| FFilterPredicate | |
| FInteractivePredicate |
Constants
| Name | Description |
|---|---|
| Type | Static type identifier for this tree item class |