connect_material_function_pins
Wire two material expression nodes by name inside a UMaterialFunction graph, specifying source output pin and destination input. Use it to link nodes and save the updated material function.
Instructions
Wire two material expression nodes inside a UMaterialFunction graph by name.
Returns: { material_function_path: string, from_node_id: string, to_node_id: string, from_pin: string, to_input: string, connected: bool, saved: bool }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from_pin | No | Optional source output pin name (default: first available) | |
| to_input | No | Optional destination FExpressionInput name (e.g. "A"); if omitted, picks the first empty input | |
| to_node_id | Yes | Name of the destination expression | |
| from_node_id | Yes | Name of the source expression | |
| material_function_path | Yes | Asset path of the UMaterialFunction |