Navigation
API > API/Editor > API/Editor/PropertyEditor
| Name | FDetailTreeNode |
| Type | class |
| Header File | /Engine/Source/Editor/PropertyEditor/Public/DetailTreeNode.h |
| Include Path | #include "DetailTreeNode.h" |
Syntax
class FDetailTreeNode : public IDetailTreeNode
Implements Interfaces
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ParentNode | TWeakPtr< FDetailTreeNode > | The parent whose GetChildren() call will return this node. | DetailTreeNode.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void FilterNode
(
const FDetailFilter& InFilter |
Filters this nodes visibility based on the provided filter strings | DetailTreeNode.h | |
bool GenerateStandaloneWidget
(
FDetailWidgetRow& OutRow |
DetailTreeNode.h | ||
TSharedRef< ITableRow > GenerateWidgetForTableView
(
const TSharedRef< STableViewBase >& OwnerTable, |
Generates the widget representing this node | DetailTreeNode.h | |
virtual void GetAllPropertyNodes
(
TArray< TSharedRef< FPropertyNode > >& OutNodes |
In certain circumstances a single DetailTreeNode can have multiple property nodes. | DetailTreeNode.h | |
void GetChildren
(
FDetailNodeList& OutChildren, |
Gets child tree nodes | DetailTreeNode.h | |
IDetailsViewPrivate * GetDetailsView() |
DetailTreeNode.h | ||
TSharedPtr< IDetailsViewPrivate > GetDetailsViewSharedPtr() |
DetailTreeNode.h | ||
virtual TSharedPtr< FComplexPropertyNode > GetExternalRootPropertyNode () |
Gets the external property node associated with this node. | DetailTreeNode.h | |
const UStruct * GetParentBaseStructure () |
Finds the immediate UScriptStruct or UClass containing this node, which is found through a series of checks: | DetailTreeNode.h | |
virtual TSharedPtr< FDetailCategoryImpl > GetParentCategory() |
DetailTreeNode.h | ||
TWeakPtr< FDetailTreeNode > GetParentNode() |
@ The parent DetailTreeNode of this node, or nullptr if this is a root node (or not yet added to a tree) | DetailTreeNode.h | |
virtual TSharedPtr< FPropertyNode > GetPropertyNode () |
Gets the property node associated with this node. | DetailTreeNode.h | |
virtual FPropertyPath GetPropertyPath() |
DetailTreeNode.h | ||
ENodeVisibility GetVisibility() |
DetailTreeNode.h | ||
virtual bool IsHighlighted() |
DetailTreeNode.h | ||
virtual bool IsLeaf() |
DetailTreeNode.h | ||
virtual TAttribute< bool > IsPropertyEditingEnabled() |
DetailTreeNode.h | ||
void OnItemExpansionChanged
(
bool bIsExpanded, |
Called when the item is expanded in the tree | DetailTreeNode.h | |
virtual void RefreshVisibility() |
Updates the visibility of this node if necessary | DetailTreeNode.h | |
virtual void SetIsHighlighted
(
bool bInIsHighlighted |
Called when the node should appear 'highlighted' to draw the users attention to it | DetailTreeNode.h | |
void SetParentNode
(
TWeakPtr< FDetailTreeNode > InParentNode |
Sets the parent node. The parent node's GetChildren() call should include this node. | DetailTreeNode.h | |
bool ShouldBeExpanded() |
DetailTreeNode.h | ||
bool ShouldShowOnlyChildren() |
DetailTreeNode.h | ||
void Tick
(
float DeltaTime |
Called each frame if the node requests that it should be ticked | DetailTreeNode.h |
Overridden from IDetailTreeNode
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FNodeWidgets CreateNodeWidgets() |
IDetailTreeNode interface | DetailTreeNode.h | |
virtual void GetChildren
(
TArray< TSharedRef< IDetailTreeNode > >& OutChildren, |
Gets the children of this tree node | DetailTreeNode.h | |
| Gets the filter strings for this node in the tree. | DetailTreeNode.h | ||
virtual bool GetInitiallyCollapsed() |
Gets if this node should be initially collapsed by default. | DetailTreeNode.h | |
FName GetNodeName() |
The identifier name of the node | DetailTreeNode.h | |
virtual TSharedPtr< IDetailPropertyRow > GetRow() |
Get the property row that this node is represented by. | DetailTreeNode.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static const UStruct * GetPropertyNodeBaseStructure
(
const FPropertyNode* PropertyNode |
A helper function for GetParentBaseStructure that gets the parent specifically for a property node instead of a detail node | DetailTreeNode.h |