unreal.NiagaraParameterCollectionInstance¶
- class unreal.NiagaraParameterCollectionInstance(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
ObjectCan be used to override selected parameters from a Niagara parameter collection with another value. The values in the parameter collection instance can be set from Blueprint or C++, same as the regular parameter collection.
C++ Source:
Plugin: Niagara
Module: Niagara
File: NiagaraParameterCollection.h
Editor Properties: (see get_editor_property/set_editor_property)
collection(NiagaraParameterCollection): [Read-Write] TODO: Abstract to some interface to allow a hierarchy like UMaterialInstance?
- get_bool_parameter(variable_name) bool¶
Accessors from Blueprint. For now just exposing common types but ideally we can expose any somehow in future.
- get_color_parameter(variable_name) LinearColor¶
Get Color Parameter
- Parameters:
variable_name (str)
- Return type:
- get_int_parameter(variable_name) int32¶
Get Int Parameter
- Parameters:
variable_name (str)
- Return type:
int32
- set_color_parameter(variable_name, value) None¶
Set Color Parameter
- Parameters:
variable_name (str)
value (LinearColor)
- set_int_parameter(variable_name, value) None¶
Set Int Parameter
- Parameters:
variable_name (str)
value (int32)