Function
Slow
Particle:SetParameterMaterial
Sets a Material parameter in this Particle System
Syntax
my_particle:SetParameterMaterial(parameter, value)
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
parameter
|
string | — | The parameter name |
value
|
MaterialPath | — | The Material to apply.<br/><br/>Note: the material needs to be configured to be "Used with Niagara" or "Used with Particles" in the material asset settings, otherwise it may not be applied correctly |