Navigation
Unreal Engine C++ API Reference > Plugins > Niagara
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&40;MinimalAPI&41;
class UNiagaraParameterCollection : public UObject
Remarks
Asset containing a collection of global parameters usable by Niagara.
Variables
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
FGuid | CompileId | Used to track whenever something of note changes in this parameter collection that might invalidate a compilation downstream of a script/emitter/system. |
![]() ![]() |
TObjectPtr< UNiagaraParameterCollectionInstance > | DefaultInstance | |
![]() ![]() ![]() ![]() |
FName | Namespace | Namespace for this parameter collection. Is enforced to be unique across all parameter collections. |
![]() |
FOnChanged | OnChangedDelegate | |
![]() ![]() |
TArray< FNiagaraVariable > | Parameters | |
![]() ![]() ![]() |
TObjectPtr< UMaterialParameterCollection > | SourceMaterialCollection | Optional set of MPC that can drive scalar and vector parameters |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UNiagaraParameterCollection
(
const FObjectInitializer& ObjectInitializer |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | ||
![]() |
int32 | AddParameter
(
FName Name, |
|
![]() |
int32 | AddParameter
(
const FNiagaraVariable& Parameter |
|
![]() ![]() |
FNiagaraVariable | CollectionParameterFromFriendlyParameter
(
const FNiagaraVariable& FriendlyParameter |
Takes the real parameter name used under the hood and converts to the friendly name for use in the UI. |
![]() ![]() |
FString | FriendlyNameFromParameterName
(
FString ParameterName |
|
![]() ![]() |
FNiagaraVariable | FriendlyParameterFromCollectionParameter
(
const FNiagaraVariable& CollectionParameter |
|
![]() ![]() |
FNiagaraCompileHash | 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. | |
![]() ![]() |
const UNiagaraParameterCollectionInstance * | ||
![]() |
UNiagaraParameterCollectionInstance * | TODO: Optional per platform overrides of the above. | |
![]() ![]() |
FString | ||
![]() ![]() |
FName | GetNamespace () |
|
![]() ![]() |
const TArray< FNiagaraVariable > & | ||
![]() |
TArray< FNiagaraVariable > & | ||
![]() ![]() |
const UMaterialParameterCollection * | ||
![]() |
int32 | IndexOfParameter
(
const FNiagaraVariable& Var |
|
![]() |
void | ||
![]() ![]() |
FString |
ParameterNameFromFriendlyName
(
const FString& FriendlyName |
Takes the friendly name presented to the UI and converts to the real parameter name used under the hood. |
![]() |
void | If for any reason this data has changed externally and needs recompilation and it isn't autodetected, use this method. | |
![]() |
void | RemoveParameter
(
const FNiagaraVariable& Parameter |
|
![]() |
void | RenameParameter
(
FNiagaraVariable& Parameter, |
Overridden from UObject
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | PostDuplicate
(
EDuplicateMode::Type DuplicateMode |
|
![]() ![]() |
void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally |
![]() ![]() |
void | PostLoad () |
Do any object-specific cleanup required immediately after loading an object. |
Typedefs
Name | Description |
---|---|
FOnChanged |