Navigation
API > API/Plugins > API/Plugins/NiagaraEditor > API/Plugins/NiagaraEditor/ViewModels > API/Plugins/NiagaraEditor/ViewModels/HierarchyEditor
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UNiagaraHierarchyViewModelBase
- UNiagaraSummaryViewViewModel
References
| Module | NiagaraEditor |
| Header | /Engine/Plugins/FX/Niagara/Source/NiagaraEditor/Public/ViewModels/HierarchyEditor/NiagaraSummaryViewViewModel.h |
| Include | #include "ViewModels/HierarchyEditor/NiagaraSummaryViewViewModel.h" |
Syntax
UCLASS (MinimalAPI)
class UNiagaraSummaryViewViewModel : public UNiagaraHierarchyViewModelBase
Variables
| Type | Name | Description | |
|---|---|---|---|
| TWeakPtr< FNiagaraEmitterViewModel > | EmitterViewModelWeak | ||
| TMap< FGuid, TWeakObjectPtr< UNiagaraNodeFunctionCall > > | FunctionCallCache | The cache is used to speed up access across different inputs, as the view models for both regular inputs & modules, dynamic inputs & assignment nodes need to 'find' these nodes which is expensive. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | ClearFunctionCallNodeCache
(
const FGuid& NodeIdentity |
||
| TSharedRef< FNiagaraEmitterViewModel > | |||
| UNiagaraNodeFunctionCall * | GetFunctionCallNode
(
const FGuid& NodeIdentity |
||
| TOptional< struct FInputData > | GetInputData
(
const UNiagaraHierarchyModuleInput& Input |
||
| TMap< FGuid, UObject * > | |||
| void | Initialize
(
TSharedRef< FNiagaraEmitterViewModel > EmitterViewModel |
Overridden from UNiagaraHierarchyViewModelBase
| Type | Name | Description | |
|---|---|---|---|
| TSharedRef< FNiagaraHierarchyDragDropOp > | Function to implement for custom drag drop ops. | ||
| TSharedPtr< FNiagaraHierarchyItemViewModelBase > | CreateViewModelForData
(
UNiagaraHierarchyItemBase* ItemBase, |
This function will create the view model for a given item. | |
| void | |||
| UNiagaraHierarchyRoot * | The hierarchy root the widget is editing. | ||
| TArray< TTuple< UClass *, FOnGetDetailCustomizationInstance > > | Overriding this will give the details panel instance customizations for specific UClasses. | ||
| void | PrepareSourceItems
(
UNiagaraHierarchyRoot* SourceRoot, |
Prepares the items we want to create a hierarchy for. | |
| void | Additional commands can be specified overriding the Commands function. | ||
| bool |