connect_material_expressions
Connect two material expression nodes by index, linking output pins to input pins or material properties.
Instructions
Connect two expression nodes using their indices.
Args: from_node: Source node index to_node: Target node index (e.g. "5") or "material" for material output to_pin: Input pin name, or material property when to_node="material": BaseColor, Metallic, Specular, Roughness, Anisotropy, EmissiveColor, Opacity, OpacityMask, Normal, Tangent, WorldPositionOffset, Displacement, SubsurfaceColor, CustomData0, CustomData1, AmbientOcclusion, Refraction, PixelDepthOffset, ShadingModel, SurfaceThickness, FrontMaterial from_pin: Output pin name ("" = primary output)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_pin | Yes | ||
| to_node | Yes | ||
| from_pin | No | ||
| from_node | Yes | ||
| material_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |