Navigation
API > API/Plugins > API/Plugins/NiagaraEditor
A widget for editing a UNiagaraScript with a graph.
| Name | SNiagaraScriptGraph |
| Type | class |
| Header File | /Engine/Plugins/FX/Niagara/Source/NiagaraEditor/Public/Widgets/SNiagaraScriptGraph.h |
| Include Path | #include "Widgets/SNiagaraScriptGraph.h" |
Syntax
class SNiagaraScriptGraph : public SCompoundWidget
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → SWidget → SCompoundWidget → SNiagaraScriptGraph
- FSlateControlledConstruction → SWidget → SCompoundWidget → SNiagaraScriptGraph
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~SNiagaraScriptGraph() |
Widgets/SNiagaraScriptGraph.h |
Structs
| Name | Remarks |
|---|---|
| FArguments |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AutoExpandActionMenu | bool | Widgets/SNiagaraScriptGraph.h | ||
| bGraphSearchBoxActive | bool | Widgets/SNiagaraScriptGraph.h | ||
| bShowHeader | bool | Widgets/SNiagaraScriptGraph.h | ||
| bUpdatingGraphSelectionFromViewModel | bool | Flag to prevent modifying the view model selection when updating the graph editor selection due to a view model selection change. | Widgets/SNiagaraScriptGraph.h | |
| Commands | TSharedPtr< FUICommandList > | The combined commands used by the graph editor. | Widgets/SNiagaraScriptGraph.h | |
| CurrentFocusedSearchMatchIndex | int | Widgets/SNiagaraScriptGraph.h | ||
| CurrentSearchResults | TArray< TSharedPtr< INiagaraScriptGraphFocusInfo > > | Widgets/SNiagaraScriptGraph.h | ||
| CurrentSearchText | FText | ~Search stuff | Widgets/SNiagaraScriptGraph.h | |
| DisplayAsReadOnly | TAttribute< bool > | Widgets/SNiagaraScriptGraph.h | ||
| DraggedFromPins | TArray< UEdGraphPin * > | Widgets/SNiagaraScriptGraph.h | ||
| EditedAsset | FAssetData | Widgets/SNiagaraScriptGraph.h | ||
| GraphEditor | TSharedPtr< SGraphEditor > | The graph editor which is editing the script graph. | Widgets/SNiagaraScriptGraph.h | |
| GraphObj | UEdGraph * | Action menu data | Widgets/SNiagaraScriptGraph.h | |
| GraphTitle | TAttribute< FText > | An attribute for the title text of the graph. | Widgets/SNiagaraScriptGraph.h | |
| IsEditable | TAttribute< bool > | Widgets/SNiagaraScriptGraph.h | ||
| NewNodePosition | FVector2D | Widgets/SNiagaraScriptGraph.h | ||
| OnClosedCallback | SGraphEditor::FActionMenuClosed | Widgets/SNiagaraScriptGraph.h | ||
| ScriptAffectedAssets | TOptional< int32 > | Widgets/SNiagaraScriptGraph.h | ||
| SearchBox | TSharedPtr< SSearchBox > | The search box for searching the script graph. | Widgets/SNiagaraScriptGraph.h | |
| ViewModel | TSharedPtr< FNiagaraScriptGraphViewModel > | The view model which exposes the data used by the widget. | Widgets/SNiagaraScriptGraph.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Construct
(
const FArguments& InArgs, |
Widgets/SNiagaraScriptGraph.h | ||
void FocusGraphElement
(
const INiagaraScriptGraphFocusInfo* FocusInfo |
Widgets/SNiagaraScriptGraph.h | ||
void FocusGraphSearchBox() |
Widgets/SNiagaraScriptGraph.h | ||
const TSharedPtr< SGraphEditor > GetGraphEditor() |
Widgets/SNiagaraScriptGraph.h | ||
TSharedPtr< FNiagaraScriptGraphViewModel > GetViewModel() |
Widgets/SNiagaraScriptGraph.h | ||
void OnCreateComment() |
Widgets/SNiagaraScriptGraph.h | ||
void RecreateGraphWidget() |
Widgets/SNiagaraScriptGraph.h | ||
void UpdateViewModel
(
TSharedRef< FNiagaraScriptGraphViewModel > InNewModel |
Widgets/SNiagaraScriptGraph.h |