Skip to content
Jigwright
HullForge docs

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_parameterWrite

Arguments

NameTypeDescription
kindreqstringWhat sort of parameter.
Scalar | Vector | Texture | StaticSwitch | StaticBool
materialreqstring
namereqstringThe parameter name instances will use. Required, because an unnamed parameter cannot be overridden.
forceboolean
= 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.
groupstringDetails panel group. Parameters with no group land in None, which sorts first and reads as a mistake.
xinteger
= 0
yinteger
= 0

Nearby in Materials:

All 28 tools in Materials — 19 more not listed here.