Navigation
API > API/Plugins > API/Plugins/NiagaraEditor > API/Plugins/NiagaraEditor/ViewModels > API/Plugins/NiagaraEditor/ViewModels/HierarchyEditor
Inheritance Hierarchy
- TSharedFromThis
- FTickableEditorObject
- FNiagaraHierarchyItemViewModelBase
- FNiagaraHierarchyItemViewModel
- FNiagaraHierarchyEmitterPropertiesViewModel
References
| Module | NiagaraEditor |
| Header | /Engine/Plugins/FX/Niagara/Source/NiagaraEditor/Public/ViewModels/HierarchyEditor/NiagaraSummaryViewViewModel.h |
| Include | #include "ViewModels/HierarchyEditor/NiagaraSummaryViewViewModel.h" |
Syntax
struct FNiagaraHierarchyEmitterPropertiesViewModel : public FNiagaraHierarchyItemViewModel
Remarks
Emitter Properties currently don't list their individual properties since it's a mix of data of FVersionedNiagaraEmitterData & actual properties on the emitter which requires customization.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TOptional< bool > | IsFromBaseEmitterCache | ||
| TWeakObjectPtr< UNiagaraHierarchySection > | Section |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FNiagaraHierarchyEmitterPropertiesViewModel
(
UNiagaraHierarchyEmitterProperties* EmitterProperties, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | |||
| void | SetSection
(
UNiagaraHierarchySection& InSection |
Overridden from FNiagaraHierarchyItemViewModelBase
| Type | Name | Description | |
|---|---|---|---|
| bool | Needs to be true in order to allow drag & drop operations to parent items to this item | ||
| bool | Should return true if renamable | ||
| bool | DoesExternalDataStillExist
(
const UNiagaraHierarchyDataRefreshContext* Context |
This function determines whether a hierarchy item that represents that external data should be maintained during data refresh Needs to be implemented if RepresentsExternalData return true. | |
| const UNiagaraHierarchySection * | Can be overridden to support custom sections. | ||
| FCanPerformActionResults | Should return true if properties are supposed to be editable & needs to be true if typical operations should work on it (renaming, dragging, deleting etc.) | ||
| bool | For data cleanup that represents external data, this needs to return true in order for live cleanup to work. | ||
| FString | ToString () |