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