FSubComponentTreeItem

Windows
MacOS
Linux

Inheritance Hierarchy

IDropTarget

TSharedFromThis

ITreeItem

FSubComponentTreeItem

References

Module

SceneOutliner

Header

/Engine/Source/Editor/SceneOutliner/Public/SubComponentTreeItem.h

Include

#include "SubComponentTreeItem.h"

Syntax

struct FSubComponentTreeItem : public SceneOutliner::ITreeItem

Variables

Name Description

Public variable

bool

 

bExistsInCurrentWorldAndPIE

True if this item exists in both the current world and PIE.

Public variable

TWeakObjectPtr<...

 

ParentComponent

The Component this tree item is associated with.

Constructors

Name Description

Public function

FSubComponentTreeItem

(
    UActorComponent* InComponent
)

Construct this item from an Component

Functions

Name Description

Public function Virtual Const

UClass *

 

GetIconClass()

Get the class type that we will use for this tree item's icon

Public function Const

FString

 

GetTypeName()

Get the string that appears in the Type column of the world outliner

Public function Virtual Const

void

 

OnDoubleClick()

Called when tree item double clicked - only works in certain modes

Public function

void

 

RenameSubComponent

(
    const FText& InName
)

Rename a sub-component of a UActorComponent

Public function

bool

 

ValidateSubComponentName

(
    const FText& InName,
    FText& OutErrorMessage
)

Determines whether the entered name is valid for this sub-component

Overridden from ITreeItem

Name Description

Public function Virtual Const

bool

 

CanInteract()

Check whether it should be possible to interact with this tree item

Public function Virtual Const

FTreeItemPtr

 

CreateParent()

Create this item's parent. It is valid to return nullptr if this item has no parent

Public function Virtual Const

FTreeItemPtr

 

FindParent

(
    const FTreeItemMap& ExistingItems
)

Get this item's parent item. It is valid to return nullptr if this item has no parent

Public function Virtual Const

int32

 

GetTypeSortPriority()

Get the sort priority given to this item's type

Public function Virtual Const

void

 

PopulateDragDropPayload

(
    FDragDropPayload& Payload
)

Process drag and drop

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss