Navigation
API > API/Editor > API/Editor/SceneOutliner
A tree item that represents an actor in the world
| Name | FActorTreeItem |
| Type | struct |
| Header File | /Engine/Source/Editor/SceneOutliner/Public/ActorTreeItem.h |
| Include Path | #include "ActorTreeItem.h" |
Syntax
struct FActorTreeItem : public IActorBaseTreeItem
Implements Interfaces
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FActorTreeItem
(
AActor* InActor |
Construct this item from an actor | ActorTreeItem.h | |
FActorTreeItem
(
FSceneOutlinerTreeItemType TypeIn, |
For use by derived classes, as it allows for passing down their own type. | ActorTreeItem.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FFilterPredicate | TBaseDelegate_OneParam< bool, const AActor * > | ActorTreeItem.h | |
| FInteractivePredicate | TBaseDelegate_OneParam< bool, const AActor * > | ActorTreeItem.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| Type | const FSceneOutlinerTreeItemType | Static type identifier for this tree item class | ActorTreeItem.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Actor | TWeakObjectPtr< AActor > | The actor this tree item is associated with. | ActorTreeItem.h | |
| bExistsInCurrentWorldAndPIE | bool | True if this item exists in both the current world and PIE. | ActorTreeItem.h | |
| ID | const FObjectKey | Constant identifier for this tree item | ActorTreeItem.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool Filter
(
FFilterPredicate Pred |
ActorTreeItem.h | ||
bool GetInteractiveState
(
FInteractivePredicate Pred |
ActorTreeItem.h |
Overridden from IActorBaseTreeItem
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual const FGuid & GetGuid() |
Begin IActorBaseTreeItem Implementation | ActorTreeItem.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 | ActorTreeItem.h | |
virtual void GenerateContextMenu
(
UToolMenu* Menu, |
Generate a context menu for this item. Only called if only this item is selected. | ActorTreeItem.h | |
virtual TSharedRef< SWidget > GenerateLabelWidget
(
ISceneOutliner& Outliner, |
Generate the label widget for this item | ActorTreeItem.h | |
virtual FString GetDisplayString() |
Get the raw string to display for this tree item - used for sorting | ActorTreeItem.h | |
virtual FSceneOutlinerTreeItemID GetID() |
Get the ID that represents this tree item. Used to reference this item in a map | ActorTreeItem.h | |
virtual FString GetPackageName() |
Returns (optionally) the name of the UPackage this item represents/is-part-of | ActorTreeItem.h | |
virtual bool GetPinnedState() |
Query the pinned staet of this item. Only called if the item has its own pinned state info | ActorTreeItem.h | |
virtual FFolder::FRootObject GetRootObject() |
Get the optional context object root of a tree item. | ActorTreeItem.h | |
virtual bool GetVisibility() |
Query this items visibility state. Only called if the item type has visibility info | ActorTreeItem.h | |
virtual bool HasPinnedStateInfo() |
Returns true if this item can set its own pinned state | ActorTreeItem.h | |
virtual bool HasVisibilityInfo() |
Returns true if this item can set its own visibility | ActorTreeItem.h | |
virtual bool IsValid() |
Begin ISceneOutlinerTreeItem Implementation | ActorTreeItem.h | |
virtual void OnLabelChanged() |
Called when this item's label has changed | ActorTreeItem.h | |
virtual void OnVisibilityChanged
(
const bool bNewVisibility |
Called when this items visibility changed | ActorTreeItem.h | |
virtual bool ShouldShowPinnedState() |
Returns true if this item should show pinned state | ActorTreeItem.h | |
virtual bool ShouldShowVisibilityState() |
Returns true if this item should show its visibility state | ActorTreeItem.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void UpdateDisplayString() |
ActorTreeItem.h |