Navigation
API > API/Plugins > API/Plugins/NiagaraEditor > API/Plugins/NiagaraEditor/ViewModels
Inheritance Hierarchy
- TSharedFromThis
- FSelfRegisteringEditorUndoClient
- INiagaraImmutableParameterPanelViewModel
- INiagaraParameterPanelViewModel
- FNiagaraParameterDefinitionsToolkitParameterPanelViewModel
- FNiagaraScriptToolkitParameterPanelViewModel
- FNiagaraSystemToolkitParameterPanelViewModel
References
| Module | NiagaraEditor |
| Header | /Engine/Plugins/FX/Niagara/Source/NiagaraEditor/Public/ViewModels/NiagaraParameterPanelViewModel.h |
| Include | #include "ViewModels/NiagaraParameterPanelViewModel.h" |
Syntax
class INiagaraParameterPanelViewModel : public INiagaraImmutableParameterPanelViewModel
Remarks
Interface for view models to SiagaraParameterPanel.
Variables
| Type | Name | Description | |
|---|---|---|---|
| int32 | ActiveSectionIndex | ||
| bool | bIsAddingParameter | Re-entrancy guard for adding parameters. | |
| TArray< FNiagaraParameterPanelItem > | CachedViewedItems | Cached maps of parameters sent to SNiagaraParameterPanel, updated whenever GetViewedParameters is called. | |
| TWeakPtr< INiagaraParameterPanelViewModel > | MainParameterPanelViewModel | ||
| FOnGetParametersWithNamespaceModifierRenamePending | OnGetParametersWithNamespaceModifierRenamePendingDelegate | ||
| FOnInvalidateCachedDependencies | OnInvalidateCachedDependenciesDelegate | ||
| FOnNotifyParameterPendingNamespaceModifierRename | OnNotifyParameterPendingNamespaceModifierRenameDelegate | ||
| FOnNotifyParameterPendingRename | OnNotifyParameterPendingRenameDelegate | ||
| FOnParameterPanelViewModelExternalSelectionChanged | OnParameterPanelViewModelExternalSelectionChangedDelegate | ||
| FOnSelectParameterItemByName | OnSelectParameterItemByNameDelegate | ||
| TSharedPtr< SEditableTextBox > | ParameterMenuSearchBoxWidget | ||
| TSharedPtr< SWidget > | ParameterMenuWidget | SharedPtr to menu and searchbox widget retained to prevent the shared ref returned by GetParameterMenu from being invalidated. | |
| TArray< FSectionDesc > | Sections | ||
| TMap< FNiagaraVariable, TObjectPtr< UNiagaraScriptVariable > > | TransientParameterToScriptVarMap | Transient UNiagaraScriptVariables used to pass to new FNiagaraParameterPanelItems when the source FNiagaraVariable is not associated with a UNiagaraScriptVariable in a graph. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Parameter Panel View Model ///. |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
Overridden from INiagaraImmutableParameterPanelViewModel
| Type | Name | Description | |
|---|---|---|---|
| const TArray< UNiagaraGraph * > | Returns a list of Graphs that are valid for operations to edit their variables and/or metadata. | ||
| const TArray< UNiagaraScriptVariable * > | GetEditableScriptVariablesWithName
(
const FName ParameterName |
||
| const TArray< FNiagaraGraphParameterReference > | GetGraphParameterReferencesForItem
(
const FNiagaraParameterPanelItemBase& Item |
||
| void | RefreshFull
(
bool bDoCategoryExpansion |
RefreshFull allows for optional category tree expansion/collapse, which can be more expensive. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FSectionDesc | Helper struct for storing information about a section in the parameter panel (if used) |
Typedefs
| Name | Description |
|---|---|
| FOnGetParametersWithNamespaceModifierRenamePending | Delegate to get the name array representing parameters pending namespace modification. |
| FOnGetSelectedParameterNames | Delegate to get the names of all selected parameter items. |
| FOnInvalidateCachedDependencies | |
| FOnNotifyParameterPendingNamespaceModifierRename | |
| FOnNotifyParameterPendingRename | Delegate to signal the ParameterPanel to trigger pending parameter renames. |
| FOnParameterPanelViewModelExternalSelectionChanged | Delegate to handle responses to external selection changes (e.g. TNiagaraSelection changes.) |
| FOnSelectParameterItemByName | Delegate to signal the ParameterPanel to select a parameter Item by name. |