Navigation
API > API/Plugins > API/Plugins/NiagaraEditor > API/Plugins/NiagaraEditor/UNiagaraGraph
Description
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.
| Name | SynchronizeScriptVariable |
| Type | function |
| Header File | /Engine/Plugins/FX/Niagara/Source/NiagaraEditor/Public/NiagaraGraph.h |
| Include Path | #include "NiagaraGraph.h" |
| Source | /Engine/Plugins/FX/Niagara/Source/NiagaraEditor/Private/NiagaraGraph.cpp |
bool SynchronizeScriptVariable
(
const UNiagaraScriptVariable * SourceScriptVar,
UNiagaraScriptVariable * DestScriptVar,
bool bIgnoreChangeId
)