blender_assign_material
Create or reuse a Principled BSDF material with RGBA color, roughness, metallic, and optional transmission/emission, then assign it to an existing mesh.
Instructions
Create or reuse a basic Principled BSDF material and assign it to an existing mesh. Colors use linear RGBA in [0,1].
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alpha | No | ||
| metallic | Yes | ||
| roughness | Yes | ||
| base_color | Yes | RGBA color [r, g, b, a], each component in [0, 1]. | |
| target_name | No | ||
| target_uuid | No | Stable Codex3D object UUID. Preferred over target_name when supplied. | |
| transmission | No | ||
| material_name | Yes | ||
| emission_color | No | RGBA color [r, g, b, a], each component in [0, 1]. | |
| emission_strength | No |