Navigation
API > API/Plugins > API/Plugins/NiagaraEditor > API/Plugins/NiagaraEditor/ViewModels
Inheritance Hierarchy
- TSharedFromThis
- FEditorUndoClient
- FNiagaraOverviewGraphViewModel
References
| Module | NiagaraEditor |
| Header | /Engine/Plugins/FX/Niagara/Source/NiagaraEditor/Public/ViewModels/NiagaraOverviewGraphViewModel.h |
| Include | #include "ViewModels/NiagaraOverviewGraphViewModel.h" |
Syntax
class FNiagaraOverviewGraphViewModel :
public TSharedFromThis< FNiagaraOverviewGraphViewModel >,
public FEditorUndoClient
Remarks
A view model for editing a niagara system in a graph editor.
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Create a new view model with the supplied system editor data and graph widget. |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| TSharedRef< FUICommandList > | GetCommands () |
Gets commands used for editing the graph. | |
| FText | Gets the display text for this graph. | ||
| UEdGraph * | GetGraph () |
Gets the graph which is used to edit and view the system | |
| TSharedRef< FNiagaraObjectSelection > | Gets the currently selected graph nodes. | ||
| TSharedRef< FNiagaraSystemViewModel > | |||
| const TSharedRef< FNiagaraSystemViewModel > | |||
| const FNiagaraGraphViewSettings & | |||
| void | Initialize
(
TSharedRef< FNiagaraSystemViewModel > InSystemViewModel |
||
| FOnNodesPasted & | Gets a multicast delegate which is called when nodes are pasted in the graph. | ||
| void | SetViewSettings
(
const FNiagaraGraphViewSettings& InOverviewGraphViewSettings |
Overridden from FEditorUndoClient
| Type | Name | Description | |
|---|---|---|---|
| void | PostRedo
(
bool bSuccess |
Signal that client should run any PostRedo code | |
| void | PostUndo
(
bool bSuccess |
Signal that client should run any PostUndo code |
Typedefs
| Name | Description |
|---|---|
| FOnNodesPasted | A multicast delegate which is called when nodes are pasted in the graph which supplies the pasted nodes. |