Navigation
API > API/Plugins > API/Plugins/NiagaraEditor > API/Plugins/NiagaraEditor/ViewModels > API/Plugins/NiagaraEditor/ViewModels/HierarchyEditor
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UNiagaraHierarchyItemBase
- UNiagaraHierarchyRoot
References
| Module | NiagaraEditor |
| Header | /Engine/Plugins/FX/Niagara/Source/NiagaraEditor/Public/ViewModels/HierarchyEditor/NiagaraHierarchyViewModelBase.h |
| Include | #include "ViewModels/HierarchyEditor/NiagaraHierarchyViewModelBase.h" |
Syntax
UCLASS&40;MinimalAPI&41;
class UNiagaraHierarchyRoot : public UNiagaraHierarchyItemBase
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< TObjectPtr< UNiagaraHierarchySection > > | Sections |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| UNiagaraHierarchySection * | AddSection
(
FText InNewSectionName, |
||
| void | DuplicateSectionFromOtherRoot
(
const UNiagaraHierarchySection& SectionToCopy |
This will copy the section element itself | |
| UNiagaraHierarchySection * | FindSectionByIdentity
(
FNiagaraHierarchyIdentity SectionIdentity |
||
| const TArray< UNiagaraHierarchySection * > & | |||
| TArray< TObjectPtr< UNiagaraHierarchySection > > & | |||
| int32 | GetSectionIndex
(
UNiagaraHierarchySection* Section |
||
| TSet< FName > | GetSections () |
||
| void | RemoveSection
(
FText SectionName |
||
| void | RemoveSectionByIdentity
(
FNiagaraHierarchyIdentity SectionIdentity |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| bool | Modify
(
bool bAlwaysMarkDirty |
Overridden modify method to also mark all children as modified |