| IDropTarget | ||||
| TSharedFromThis
|
Module |
|
Header |
/Engine/Source/Editor/SceneOutliner/Public/ComponentTreeItem.h |
Include |
#include "ComponentTreeItem.h" |
struct FComponentTreeItem : public SceneOutliner::ITreeItem
A tree item that represents an Component in the world
Name | Description | ||
---|---|---|---|
|
bExistsInCurrentWorldAndPIE |
True if this item exists in both the current world and PIE. |
|
|
CachedDisplayString |
Cache the string displayed |
|
|
TWeakObjectPtr<... |
Component |
The Component this tree item is associated with. |
|
const FObjectKe... |
ID |
Constant identifier for this tree item |
Name | Description | |
---|---|---|
|
FComponentTreeItem ( |
Construct this item from an Component |
Name | Description | ||
---|---|---|---|
|
OnDoubleClick() |
Called when tree item double clicked - only works in certain modes |
Name | Description | ||
---|---|---|---|
|
CanInteract() |
Check whether it should be possible to interact with this tree item |
|
|
CreateParent() |
Create this item's parent. It is valid to return nullptr if this item has no parent |
|
|
FindParent ( |
Get this item's parent item. It is valid to return nullptr if this item has no parent |
|
|
GetDisplayString() |
Get the raw string to display for this tree item - used for sorting |
|
|
GetID() |
Get the ID that represents this tree item. Used to reference this item in a map |
|
|
GetTypeSortPriority() |
Get the sort priority given to this item's type |
|
|
PopulateDragDropPayload ( |
Populate the specified drag/drop payload with any relevant information for this type |
|
|
Visit ( |
Visit this tree item |
|
|
Visit ( |
Name | Description | ||
---|---|---|---|
|
OnDrop ( |
Called to drop the specified objects on this item. |
|
|
FDragValidat... |
ValidateDrop ( |
Called to test whether the specified payload can be dropped onto this tree item |