Add Material Parameter
Add a named parameter node, so instances can override it. A parameter with NO NAME is legal, compiles, and is invisible to every instance, which is the mistake this exists to make hard.
hf_add_material_parameterWriteArguments
| Name | Type | Description |
|---|---|---|
kindreq | string | What sort of parameter. Scalar | Vector | Texture | StaticSwitch | StaticBool |
materialreq | string | |
namereq | string | The parameter name instances will use. Required, because an unnamed parameter cannot be overridden. |
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. |
group | string | Details panel group. Parameters with no group land in None, which sorts first and reads as a mistake. |
x | integer = 0 | |
y | integer = 0 |
Related tools
Nearby in Materials:
- Add Material Function Call
- Add Material Node
- Audit Materials
- Connect Material Nodes
- Copy Material Parameters
- Create Material
- Create Material Function
- Create Parameter Collection
All 28 tools in Materials — 19 more not listed here.