Set Niagara User Parameter
Set a Niagara system's user parameter default and verify it by reading it back out of the parameter store. Handles float, int, bool, Vector2, Vector, Vector4, LinearColor, Quat and Position, and REFUSES every other type by name rather than writing bytes it does not understand: a Niagara parameter store takes whatever it is given and reports nothing when the layout is wrong.
hf_set_niagara_user_parameterWriteArguments
| Name | Type | Description |
|---|---|---|
parameterreq | string | Parameter name as hf_get_niagara_user_parameters reports it. The 'User.' prefix is optional and is added if missing. |
systemreq | string | Path to a Niagara System asset. |
valuereq | any | A number for float and int, true/false for bool, or an object with named components for the rest: {X,Y} for Vector2, {X,Y,Z} for Vector and Position, {X,Y,Z,W} for Vector4 and Quat, {R,G,B,A} for LinearColor. Named components rather than an array, because nobody agrees on channel order and guessing wrong writes a plausible number into the wrong channel. |
force | boolean = false | Edit even when the asset cannot currently be saved - for example when revision control is configured but disconnected. The change will be made in memory and WILL BE LOST unless the underlying problem is fixed before saving. Only pass this if you intend to discard the work or fix the connection first. |
Related tools
Nearby in Niagara: