clear_niagara_module_input
Reset a Niagara module input to its default value by removing the override pin, breaking connections, and cleaning up orphan nodes. Supports nested paths for inputs inside dynamic inputs.
Instructions
Reset a module input to its default — equivalent to "Reset to Default" in the stack UI.
Finds the override pin, breaks its connections, removes any orphan nodes that were exclusively feeding it (dynamic input node, map get, custom HLSL, etc.), then removes the override pin itself from the ParameterMapSet so the input reverts cleanly.
Supports nested path syntax: input_name="Spawn Count.Position Array" clears the Position Array binding INSIDE the dynamic input attached to Spawn Count — without touching Spawn Count's own binding.
Mirrors FNiagaraStackGraphUtilities::RemoveNodesForStackFunctionInputOverridePin (non-exported — replicated here).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_name | Yes | ||
| module_name | Yes | ||
| system_path | Yes | ||
| emitter_name | Yes | ||
| script_usage | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |