Navigation
API > API/Plugins > API/Plugins/NiagaraEditor > API/Plugins/NiagaraEditor/UNiagaraGraph
References
Module | NiagaraEditor |
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 RenameParameter
&40;
const FNiagaraVariable & Parameter,
FName NewName,
bool bRenameRequestedFromStaticSwitch,
bool &42; bMerged,
bool bSuppressEvents
&41;
Remarks
Rename parameter from map and all the pins associated. true if the new name was applied.
Parameters
Name | Description |
---|---|
Parameter | The target FNiagaraVariable key to lookup the canonical UNiagaraScriptVariable to rename. |
NewName | The new name to apply. |
bFromStaticSwitch | Whether the target parameter is from a static switch. Used to determine whether to fixup binding strings. |
bMerged | Whether or not the rename ended up merging with a different parameter because the names are the same. |
bSuppressEvents | Whether or not to invoke UEdGraphNode::OnPinRenamed() when setting NewName on a node pin. If true, do not call UEdGraphNode::OnPinRenamed(). |