Navigation
API > API/Plugins > API/Plugins/Niagara > API/Plugins/Niagara/FNiagaraVariableBase
References
| Module | Niagara |
| Header | /Engine/Plugins/FX/Niagara/Source/Niagara/Public/NiagaraTypes.h |
| Include | #include "NiagaraTypes.h" |
| Source | /Engine/Plugins/FX/Niagara/Source/Niagara/Private/NiagaraTypes.cpp |
bool ReplaceRootNamespace
&40;
const FStringView & ExpectedNamespace,
const FStringView & NewNamespace
&41;
Remarks
Replaces the root namespace from the variable if it matches the expected namespace with the NewNamespace. i.e. Prev.VarName would become Next.VarName but Other.Prev.VarName would not be modified. For more complex namespace manipulation refer to FNiagaraUtilities::ResolveAliases