Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Plugins/FX/Niagara/Source/NiagaraEditor/Public/ViewModels/NiagaraScriptViewModel.h |
Include |
#include "ViewModels/NiagaraScriptViewModel.h" |
class FNiagaraScriptViewModel :
public TSharedFromThis< FNiagaraScriptViewModel >,
public FEditorUndoClient,
public TNiagaraViewModelManager< UNiagaraScript, FNiagaraScriptViewModel >,
public INiagaraParameterDefinitionsSubscriberViewModel
A view model for Niagara scripts which manages other script related view models.
Name | Description | ||
---|---|---|---|
|
bIsForDataProcessingOnly |
Whether or not this view model is going to be used for data processing only and will not be shown in the UI. |
|
|
bUpdatingSelectionInternally |
A flag for preventing reentrancy when synchronizing selection. |
|
|
CompileErrors |
||
|
CompilePaths |
||
|
CompileStatuses |
||
|
CompileTypes |
||
|
TSharedRef< FNi... |
GraphViewModel |
The view model for the graph. |
|
TSharedRef< FNi... |
InputCollectionViewModel |
The view model for the input parameter collection. |
|
LastCompileStatus |
The stored latest compile status. |
|
|
OnGraphChangedHandle |
The handle to the graph changed delegate needed for removing. |
|
|
TSharedRef< FNi... |
OutputCollectionViewModel |
The view model for the output parameter collection . |
|
RegisteredHandles |
||
|
Scripts |
The script which provides the data for this view model. |
|
|
TWeakObjectPtr<... |
Source |
|
|
TSharedRef< FNi... |
VariableSelection |
The set of variables currently selected in the graph or the parameters panel. |
Name | Description | |
---|---|---|
|
FNiagaraScriptViewModel ( |
Name | Description | |
---|---|---|
|
~FNiagaraScriptViewModel() |
Name | Description | ||
---|---|---|---|
|
CompileStandaloneScript ( |
Compiles a script that isn't part of an emitter or System. |
|
|
UNiagaraScri... |
GetContainerScript ( |
|
|
GetDisplayName() |
||
|
TSharedRef< ... |
GetGraphViewModel() |
Gets the view model for the graph. |
|
TSharedRef< ... |
GetInputCollectionViewModel() |
Gets the view model for the input parameter collection. |
|
ENiagaraScri... |
GetLatestCompileStatus ( |
Get the latest status of this view-model's script compilation. |
|
TSharedRef< ... |
GetOutputCollectionViewModel() |
Gets the view model for the output parameter collection. |
|
UNiagaraScri... |
GetScript ( |
Implements a globally unique identifier. |
|
ENiagaraScri... |
GetScriptCompileStatus ( |
|
|
GetScriptErrors ( |
||
|
const TArray... |
GetScripts() |
|
|
FVersionedNi... |
GetStandaloneScript() |
If this is editing a standalone script, returns the script being edited. |
|
TSharedRef< ... |
GetVariableSelection() |
Gets the currently selected script variables. |
|
IsGraphDirty ( |
||
|
OnGPUScriptCompiled ( |
||
|
OnVMScriptCompiled ( |
||
|
RefreshNodes() |
Refreshes the nodes in the script graph, updating the pins to match external changes. |
|
|
SetScript ( |
Sets the view model to a different script. |
|
|
SetScripts ( |
||
|
UpdateCompileStatus ( |
Updates the script with the latest compile status. |
Name | Description | ||
---|---|---|---|
|
INiagaraPara... |
GetParameterDefinitionsSubscriber() |