Navigation
API > API/Plugins > API/Plugins/Niagara > API/Plugins/Niagara/FNiagaraVariableBase
Description
Removes the root namespace from the variable if it matches the expected namespace. i.e. MyNamespace.VarName would become VarName but Other.MyNamespace.VarName would not be modified. For more complex namespace manipulation refer to FNiagaraUtilities::ResolveAliases
| Name | RemoveRootNamespace |
| 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 RemoveRootNamespace
(
const FStringView & ExpectedNamespace
)