UNiagaraParameterCollection

Asset containing a collection of global parameters usable by Niagara.

Windows
MacOS
Linux

Inheritance Hierarchy

UObjectBase

UObjectBaseUtility

UObject

UNiagaraParameterCollection

References

Module

Niagara

Header

/Engine/Plugins/FX/Niagara/Source/Niagara/Classes/NiagaraParameterCollection.h

Include

#include "NiagaraParameterCollection.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)()
class UNiagaraParameterCollection : public UObject

Remarks

Asset containing a collection of global parameters usable by Niagara.

Variables

Name Description

Protected variable

FGuid

 

CompileId

Used to track whenever something of

Protected variable UProperty

UNiagaraParamet...

 

DefaultInstance

Protected variable UProperty Category, EditAnywhere assetregistrysearchable

FName

 

Namespace

Namespace for this parameter collection. Is enforced to be unique across all parameter collections.

Public variable

FOnChanged

 

OnChangedDelegate

Protected variable UProperty

TArray< FNiagar...

 

Parameters

Protected variable UProperty Category, EditAnywhere

UMaterialParame...

 

SourceMaterialCollection

Optional set of MPC that can drive scalar and vector parameters

Constructors

Name Description

Public function

UNiagaraParameterCollection

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Protected function

void

 

AddDefaultSourceParameters()

Public function

int32

 

AddParameter

(
    const FNiagaraVariable& Parameter
)

Public function

int32

 

AddParameter

(
    FName Name,
    FNiagaraTypeDefinition Type
)

Public function Const

FNiagaraVari...

 

CollectionParameterFromFriendlyParameter

(
    const FNiagaraVariable& FriendlyPa...
)

Takes the real parameter name used under the hood and converts to the friendly name for use in the UI.

Public function Const

FString

 

FriendlyNameFromParameterName

(
    FString ParameterName
)

Public function Const

FNiagaraVari...

 

FriendlyParameterFromCollectionParameter

(
    const FNiagaraVariable& Collection...
)

Public function Const

FNiagaraComp...

 

GetCompileHash()

The compile Id is an indicator to any compiled scripts that reference this collection that contents may have changed and a recompile is recommended to be safe.

Public function

UNiagaraPara...

 

GetDefaultInstance()

TODO: Optional per platform overrides of the above.

Public function Const

FString

 

GetFullNamespace()

Public function Const

FName

 

GetNamespace()

Public function

TArray< FNia...

 

GetParameters()

Public function Const

const UMater...

 

GetSourceCollection()

Public function

int32

 

IndexOfParameter

(
    const FNiagaraVariable& Var
)

Protected function

void

 

MakeNamespaceNameUnique()

Public function Const

FString

 

ParameterNameFromFriendlyName

(
    const FString& FriendlyName
)

Takes the friendly name presented to the UI and converts to the real parameter name used under the hood.

Public function

void

 

RefreshCompileId()

If for any reason this data has changed externally and needs recompilation and it isn't autodetected, use this method.

Public function

void

 

RemoveParameter

(
    const FNiagaraVariable& Parameter
)

Public function

void

 

RenameParameter

(
    FNiagaraVariable& Parameter,
    FName NewName
)

Overridden from UObject

Name Description

Public function Virtual

void

 

PostEditChangeProperty

(
    FPropertyChangedEvent& PropertyCha...
)

Called when a property on this object has been modified externally

Public function Virtual

void

 

PostLoad()

Do any object-specific cleanup required immediately after loading an object.

Typedefs

Name

Description

FOnChanged

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss