FNiagaraUserRedirectionParameterStore

Extension of the base parameter store to allow the user in the editor to use variable names without the "User." namespace prefix.

Windows
MacOS
Linux

Inheritance Hierarchy

FNiagaraParameterStore

FNiagaraUserRedirectionParameterStore

References

Module

Niagara

Header

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

Include

#include "NiagaraUserRedirectionParameterStore.h"

Syntax

USTRUCT ()
struct FNiagaraUserRedirectionParameterStore : public FNiagaraParameterStore

Remarks

Extension of the base parameter store to allow the user in the editor to use variable names without the "User." namespace prefix. The names without the prefix just redirect to the original variables, it is just done for better usability.

Constructors

Destructors

Functions

Name Description

Public function Const

void

 

GetUserParameters

(
    TArray < FNiagaraVariable >& OutPar...
)

Get the list of FNiagaraVariables that are exposed to the user.

Public function

void

 

RecreateRedirections()

Public function

bool

 

SerializeFromMismatchedTag

(
    const FPropertyTag & Tag,
    FStructuredArchive::FSlot Slot
)

Used to upgrade a serialized FNiagaraParameterStore property to our own struct

Overridden from FNiagaraParameterStore

Name Description

Public function Virtual

bool

 

AddParameter

(
    const FNiagaraVariable & Param,
    bool bInitialize,
    bool bTriggerRebind,
    int32 * OutOffset
)

Adds the passed parameter to this store.

Public function Virtual

void

 

Empty

(
    bool bClearBindings
)

Removes all parameters from this store and releases any data.

Public function Virtual Const

const int32 ...

 

FindParameterOffset

(
    const FNiagaraVariable & Parameter
)

Public function Virtual

void

 

InitFromSource

(
    const FNiagaraParameterStore * ...,
    bool bNotifyAsDirty
)

Called to initially set up the parameter store to exactly match the input store (other than any bindings and the internal name of it).

Public function Virtual

bool

 

RemoveParameter

(
    const FNiagaraVariable & Param
)

Removes the passed parameter if it exists in the store.

Public function Virtual

void

 

Reset

(
    bool bClearBindings
)

Removes all parameters from this store but does't change memory allocations.

Operators

Name Description

Public function

FNiagaraUser ...

 

operator=

(
    const FNiagaraParameterStore & Othe...
)

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