FNiagaraVariable

Windows
MacOS
Linux

Inheritance Hierarchy

FNiagaraVariableBase

FNiagaraVariable

References

Module

Niagara

Header

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

Include

#include "NiagaraTypes.h"

Syntax

USTRUCT ()
struct FNiagaraVariable : public FNiagaraVariableBase

Constructors

Name Description

Public function

FNiagaraVariable()

Public function

FNiagaraVariable

(
    const FNiagaraVariable & Other
)

Public function

FNiagaraVariable

(
    const FNiagaraVariableBase & Other
)

Public function

FNiagaraVariable

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

Functions

Name Description

Public function

void

 

AllocateData()

Var data operations.

Public function

void

 

ClearData()

Public function Const

void

 

CopyTo

(
    uint8 * Dest
)

Public function Const

int32

 

GetAllocatedSizeInBytes()

Public function

uint8 *

 

GetData()

Public function Const

const uint8 ...

 

GetData()

Public function Const

bool

 

GetValue()

Public function Const

T

 

GetValue()

Public function Const

bool

 

HoldsSameData

(
    const FNiagaraVariable & Other
)

Checks if the types match and either both variables are uninitialized or both hold exactly the same data.

Public function Const

bool

 

IsDataAllocated()

Public function Static

FNiagaraVari ...

 

ResolveAliases

(
    const FNiagaraVariable & InVar,
    const TMap < FString , FString >& In...,
    const TCHAR * InJoinSeparator
)

Public function Static

int32

 

SearchArrayForPartialNameMatch

(
    const TArray < FNiagaraVariable >& ...,
    const FName & VariableName
)

Public function

void

 

SetData

(
    const uint8 * Data
)

Public function

void

 

SetValue

(
    const T& Data
)

Public function

void

 

SetValue

(
    const bool & Data
)

Public function Const

FString

 

ToString()

Operators

Name Description

Public function Const

bool

 

operator!=

(
    const FNiagaraVariable & 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 FNiagaraVariable & Other
)

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

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback