add_niagara_node_pin
Add a typed dynamic pin to any Niagara scratch pad node, such as Custom HLSL or Map Get. Specify pin name, type, direction, and target node by class, index, or ID.
Instructions
Generic: add a typed dynamic pin to any node in a scratch pad graph.
Works with Custom HLSL, Map Get, Map Set, or any node inheriting from UNiagaraNodeWithDynamicPins. Identify the target node via exactly one of node_class / node_index / node_id.
Args: system_path: Niagara System asset path module_name: Scratch pad module name pin_name: New pin name pin_type: Niagara type string (float, vec3, color, etc.) direction: "input" or "output" node_class: Class short name (e.g. "NiagaraNodeParameterMapGet", "ParameterMapGet") node_index: Raw Graph->Nodes index node_id: UEdGraphNode::NodeGuid string
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_id | No | ||
| pin_name | Yes | ||
| pin_type | No | float | |
| direction | No | input | |
| node_class | No | ||
| node_index | No | ||
| module_name | Yes | ||
| system_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |