Navigation
API > API/Plugins > API/Plugins/Niagara > API/Plugins/Niagara/FNiagaraVariableBase
Description
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
| Name | ReplaceRootNamespace |
| Type | function |
| Header File | /Engine/Plugins/FX/Niagara/Source/Niagara/Public/NiagaraTypes.h |
| Include Path | #include "NiagaraTypes.h" |
| Source | /Engine/Plugins/FX/Niagara/Source/Niagara/Private/NiagaraTypes.cpp |
bool ReplaceRootNamespace
(
const FStringView & ExpectedNamespace,
const FStringView & NewNamespace
)