Navigation
API > API/Plugins > API/Plugins/Niagara
| Name | FNiagaraVariableBase |
| Type | struct |
| Header File | /Engine/Plugins/FX/Niagara/Source/Niagara/Public/NiagaraTypes.h |
| Include Path | #include "NiagaraTypes.h" |
Syntax
USTRUCT ()
struct FNiagaraVariableBase
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FNiagaraVariableBase
(
const FNiagaraTypeDefinition& InType, |
NiagaraTypes.h | ||
FNiagaraVariableBase
(
const FNiagaraVariableCommonReference& VariableRef |
NiagaraTypes.h | ||
| NiagaraTypes.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool AppendCompileHash
(
FNiagaraCompileHashVisitor* InVisitor |
NiagaraTypes.h | ||
int32 GetAlignment() |
NiagaraTypes.h | ||
const FName & GetName() |
NiagaraTypes.h | ||
int32 GetSizeInBytes() |
NiagaraTypes.h | ||
const FNiagaraTypeDefinition & GetType() |
NiagaraTypes.h | ||
bool IsDataInterface() |
NiagaraTypes.h | ||
bool IsEquivalent
(
const FNiagaraVariableBase& Other, |
Variables are the same name but if types are auto-assignable, allow them to match. | NiagaraTypes.h | |
bool IsInNameSpace
(
const FStringView& Namespace |
NiagaraTypes.h | ||
bool IsInNameSpace
(
const FName& Namespace |
This method should not be used at runtime as we have pre-defined strings in FNiagaraConstants for runtime cases. | NiagaraTypes.h | |
bool IsUObject() |
NiagaraTypes.h | ||
bool IsValid() |
NiagaraTypes.h | ||
void PostSerialize
(
const FArchive& Ar |
NiagaraTypes.h | ||
bool RemoveRootNamespace
(
const FStringView& ExpectedNamespace |
Removes the root namespace from the variable if it matches the expected namespace. | NiagaraTypes.h | |
bool ReplaceRootNamespace
(
const FStringView& ExpectedNamespace, |
Replaces the root namespace from the variable if it matches the expected namespace with the NewNamespace. | NiagaraTypes.h | |
bool Serialize
(
FArchive& Ar |
NiagaraTypes.h | ||
bool SerializeFromMismatchedTag
(
const FPropertyTag& Tag, |
NiagaraTypes.h | ||
void SetName
(
FName InName |
NiagaraTypes.h | ||
void SetNamespacedName
(
const FString& InNamespace, |
NiagaraTypes.h | ||
void SetType
(
const FNiagaraTypeDefinition& InTypeDef |
NiagaraTypes.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static bool IsInNameSpace
(
const FStringView& Namespace, |
NiagaraTypes.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator!=
(
const FNiagaraVariableBase& Other |
Check if Name and Type definition are not the same. The actual stored value is not checked here. | NiagaraTypes.h | |
bool operator==
(
const FNiagaraVariableBase& Other |
Check if Name and Type definition are the same. The actual stored value is not checked here. | NiagaraTypes.h |
Deprecated Variables
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| TypeDef_DEPRECATED | FNiagaraTypeDefinition | NiagaraTypes.h |
|