Navigation
API > API/Plugins > API/Plugins/NiagaraEditor > API/Plugins/NiagaraEditor/ViewModels > API/Plugins/NiagaraEditor/ViewModels/HierarchyEditor
Inheritance Hierarchy
- TSharedFromThis
- FTickableEditorObject
- FNiagaraHierarchyItemViewModelBase
- FNiagaraHierarchyItemViewModel
- FNiagaraModuleInputViewModel
References
| Module | NiagaraEditor |
| Header | /Engine/Plugins/FX/Niagara/Source/NiagaraEditor/Public/ViewModels/HierarchyEditor/NiagaraSummaryViewViewModel.h |
| Include | #include "ViewModels/HierarchyEditor/NiagaraSummaryViewViewModel.h" |
Syntax
struct FNiagaraModuleInputViewModel : public FNiagaraHierarchyItemViewModel
Constructors
| Type | Name | Description | |
|---|---|---|---|
FNiagaraModuleInputViewModel
(
UNiagaraHierarchyModuleInput* ModuleInput, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | ClearCache () |
||
| TOptional< FInputData > | GetInputData () |
||
| TWeakObjectPtr< UNiagaraNodeFunctionCall > | |||
| FText | |||
| bool | |||
| void | RefreshChildDynamicInputs
(
bool bClearCache |
Overridden from FNiagaraHierarchyItemViewModelBase
| Type | Name | Description | |
|---|---|---|---|
| FCanPerformActionResults | CanDropOnInternal
(
TSharedPtr< FNiagaraHierarchyItemViewModelBase >, |
Should return true if the given drag drop operation is allowed to succeed. | |
| bool | Needs to be true in order to allow drag & drop operations to parent items to this item | ||
| 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. | |
| TArray< FString > | |||
| 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.) | ||
| void | OnDroppedOnInternal
(
TSharedPtr< FNiagaraHierarchyItemViewModelBase >, |
Override this to handle drop-on logic. | |
| void | PopulateDynamicContextMenuSection
(
FToolMenuSection& DynamicSection |
Override this to register dynamic context menu entries when right clicking a hierarchy item | |
| void | View models can implement this to add or remove data. | ||
| bool | For data cleanup that represents external data, this needs to return true in order for live cleanup to work. | ||
| FString | ToString () |