Navigation
API > API/Editor > API/Editor/SceneOutliner
A tree item that represents an Component in the world
| Name | FComponentTreeItem |
| Type | struct |
| Header File | /Engine/Source/Editor/SceneOutliner/Public/ComponentTreeItem.h |
| Include Path | #include "ComponentTreeItem.h" |
Syntax
struct FComponentTreeItem : public ISceneOutlinerTreeItem
Implements Interfaces
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FComponentTreeItem
(
UActorComponent* InComponent, |
Construct this item from an Component | ComponentTreeItem.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FFilterPredicate | TBaseDelegate_OneParam< bool, const UActorComponent * > | ComponentTreeItem.h | |
| FInteractivePredicate | TBaseDelegate_OneParam< bool, const UActorComponent * > | ComponentTreeItem.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| Type | const FSceneOutlinerTreeItemType | Static type identifier for this tree item class | ComponentTreeItem.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bExistsInCurrentWorldAndPIE | bool | End ISceneOutlinerTreeItem Implementation true if this item exists in both the current world and PIE. | ComponentTreeItem.h | |
| bSearchComponentsByActorName | bool | If true components will be shown if the owning actor is searched for even if the search text does not match the component | ComponentTreeItem.h | |
| CachedDisplayString | FString | Cache the string displayed | ComponentTreeItem.h | |
| Component | TWeakObjectPtr< UActorComponent > | The Component this tree item is associated with. | ComponentTreeItem.h | |
| ID | const FObjectKey | Constant identifier for this tree item | ComponentTreeItem.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool Filter
(
FFilterPredicate Pred |
ComponentTreeItem.h | ||
bool GetInteractiveState
(
FInteractivePredicate Pred |
ComponentTreeItem.h | ||
bool GetSearchComponentByActorName() |
ComponentTreeItem.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 | ComponentTreeItem.h | |
virtual TSharedRef< SWidget > GenerateLabelWidget
(
ISceneOutliner& Outliner, |
Generate the label widget for this item | ComponentTreeItem.h | |
virtual FString GetDisplayString() |
Get the raw string to display for this tree item - used for sorting | ComponentTreeItem.h | |
virtual FSceneOutlinerTreeItemID GetID() |
Get the ID that represents this tree item. Used to reference this item in a map | ComponentTreeItem.h | |
virtual bool GetVisibility() |
Query this items visibility state. Only called if the item type has visibility info | ComponentTreeItem.h | |
virtual bool HasVisibilityInfo() |
Returns true if this item can set its own visibility | ComponentTreeItem.h | |
virtual bool IsValid() |
Begin ISceneOutlinerTreeItem Implementation | ComponentTreeItem.h | |
virtual bool ShouldShowVisibilityState() |
Returns true if this item should show its visibility state | ComponentTreeItem.h |