Navigation
API > API/Editor > API/Editor/DataHierarchyEditor
UHierarchyRoot is used as the main object for serialization purposes, and a transient root is created automatically by the widget to populate the source list of items.
| Name | UHierarchyRoot |
| Type | class |
| Header File | /Engine/Source/Editor/DataHierarchyEditor/Public/DataHierarchyViewModelBase.h |
| Include Path | #include "DataHierarchyViewModelBase.h" |
Syntax
UCLASS (MinimalAPI)
class UHierarchyRoot : public UHierarchyElement
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UHierarchyElement → UHierarchyRoot
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UHierarchyRoot() |
DataHierarchyViewModelBase.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~UHierarchyRoot() |
DataHierarchyViewModelBase.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void DuplicateSectionFromOtherRoot
(
const UHierarchySection& SectionToCopy |
This will copy the section element itself | DataHierarchyViewModelBase.h | |
virtual void EmptyAllData() |
DataHierarchyViewModelBase.h | ||
UHierarchySection * FindSectionByIdentity
(
FHierarchyElementIdentity SectionIdentity |
DataHierarchyViewModelBase.h | ||
TConstArrayView< const TObjectPtr< UHierarchySection > > GetSectionData() |
DataHierarchyViewModelBase.h | ||
TArray< TObjectPtr< UHierarchySection > > & GetSectionDataMutable() |
DataHierarchyViewModelBase.h | ||
int32 GetSectionIndex
(
UHierarchySection* Section |
DataHierarchyViewModelBase.h | ||
TSet< FName > GetSectionNames() |
DataHierarchyViewModelBase.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool Modify
(
bool bAlwaysMarkDirty |
Overridden modify method to also mark all children as modified | DataHierarchyViewModelBase.h |
Protected
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Serialize
(
FStructuredArchive::FRecord Record |
DataHierarchyViewModelBase.h |