FNiagaraVariableBase

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

Niagara

Header

/Engine/Plugins/FX/Niagara/Source/Niagara/Public/NiagaraTypes.h

Include

#include "NiagaraTypes.h"

Syntax

USTRUCT()
struct FNiagaraVariableBase

Variables

Name Description

Protected variable UProperty Category, EditAnywhere

FName

 

Name

Protected variable UProperty Category, EditAnywhere

FNiagaraTypeDef...

 

TypeDefHandle

Constructors

Name Description

Public function

FNiagaraVariableBase()

Public function

FNiagaraVariableBase

(
    const FNiagaraVariableBase& Other
)

Public function

FNiagaraVariableBase

(
    const FNiagaraTypeDefinition& InTy...,
    const FName& InName
)

Functions

Name Description

Public function Const

int32

 

GetAlignment()

Public function Const

const FName ...

 

GetName()

Public function Const

int32

 

GetSizeInBytes()

Public function Const

const FNiaga...

 

GetType()

Public function Const

bool

 

IsDataInterface()

Public function Const

bool

 

IsEquivalent

(
    const FNiagaraVariableBase& Other,
    bool bAllowAssignableTypes
)

Variables are the same name but if types are auto-assignable, allow them to match.

Public function Const

bool

 

IsInNameSpace

(
    const FName& Namespace
)

This method should not be used at runtime as we have pre-defined strings in FNiagaraConstants for runtime cases.

Public function Const

bool

 

IsInNameSpace

(
    const FStringView& Namespace
)

Public function Const

bool

 

IsUObject()

Public function Const

bool

 

IsValid()

Public function

void

 

PostSerialize

(
    const FArchive& Ar
)

Public function

bool

 

Serialize

(
    FArchive& Ar
)

Public function

void

 

SetName

(
    FName InName
)

Public function

void

 

SetNamespacedName

(
    const FString& InNamespace,
    FName InVariableName
)

Public function

void

 

SetType

(
    const FNiagaraTypeDefinition& InTy...
)

Operators

Name Description

Public function Const

bool

 

operator!=

(
    const FNiagaraVariableBase& Other
)

Check if Name and Type definition are not the same. The actual stored value is not checked here.

Public function Const

bool

 

operator==

(
    const FNiagaraVariableBase& Other
)

Check if Name and Type definition are the same. The actual stored value is not checked here.

Deprecated Variables

Name Description

Protected variable UProperty Meta

FNiagaraTypeDef...

 

TypeDef_DEPRECATED