Connect Material Nodes
Wire one expression's output into another expression's input, or into one of the material's own outputs. REFUSES A CYCLE, which the engine does not: the translator walks the graph depth first, so a loop is a compile that never returns rather than an error.
hf_connect_material_nodesWriteArguments
| Name | Type | Description |
|---|---|---|
fromreq | string | Source node name, as hf_list_material_nodes reports it. |
materialreq | string | |
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. |
from_output | string | Output pin name or index. The first output if omitted. |
property | string | A material output instead of a node: BaseColor, Roughness, Normal, EmissiveColor and the rest. |
to | string | Destination node name. Give this OR "property", not both. |
to_input | string | Input pin name or index on the destination node. The first input if omitted. |
Related tools
Nearby in Materials:
- Add Material Function Call
- Add Material Node
- Add Material Parameter
- Audit Materials
- Copy Material Parameters
- Create Material
- Create Material Function
- Create Parameter Collection
All 28 tools in Materials — 19 more not listed here.