Navigation
API > API/Editor > API/Editor/DataHierarchyEditor
Context for a hierarchy drag-and-drop operation. Wraps the set of dragged elements with computed hierarchy metadata.
| Name | FDataHierarchyDragDropContext |
| Type | struct |
| Header File | /Engine/Source/Editor/DataHierarchyEditor/Public/DataHierarchyViewModelBase.h |
| Include Path | #include "DataHierarchyViewModelBase.h" |
Syntax
struct FDataHierarchyDragDropContext
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| DataHierarchyViewModelBase.h | |||
FDataHierarchyDragDropContext
(
const TArray< FDraggedElementEntry >& InEntries |
DataHierarchyViewModelBase.h | ||
FDataHierarchyDragDropContext
(
TArray< FDraggedElementEntry >&& InEntries |
DataHierarchyViewModelBase.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FDataHierarchyDragDropContext() |
DataHierarchyViewModelBase.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Entries | TArray< FDraggedElementEntry > | DataHierarchyViewModelBase.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const TArray< FDraggedElementEntry > & GetEntries() |
All dragged element entries, including those contained in other dragged elements. | DataHierarchyViewModelBase.h | |
TWeakPtr< FHierarchyElementViewModel > GetPrimaryElement() |
Returns the first/primary dragged element. | DataHierarchyViewModelBase.h | |
int32 GetTopLevelCount() |
Returns the number of top-level dragged elements. | DataHierarchyViewModelBase.h | |
TArray< FDraggedElementEntry > GetTopLevelEntries() |
Returns only top-level entries (not contained in another dragged element). | DataHierarchyViewModelBase.h | |
bool IsEmpty() |
DataHierarchyViewModelBase.h | ||
int32 Num() |
DataHierarchyViewModelBase.h |