Module |
|
Header |
/Engine/Plugins/FX/Niagara/Source/NiagaraEditor/Public/NiagaraGraph.h |
Include |
#include "NiagaraGraph.h" |
Source |
/Engine/Plugins/FX/Niagara/Source/NiagaraEditor/Private/NiagaraGraph.cpp |
bool SynchronizeScriptVariable
(
const UNiagaraScriptVariable * SourceScriptVar,
UNiagaraScriptVariable * DestScriptVar,
bool bMarkGraphRequiresSync
)
Synchronize all the properties of DestScriptVar to those of SourceScriptVar, as well as propagating those changes through the graph (pin variable names and default values on pins.) If DestScriptVar is not set, find a script variable with the same key as the SourceScriptVar. ' Returns bool to signify if DestScriptVar was modified.