Skip to content
Jigwright
HullForge docs

Set Material Node Property

Set a property on one expression node: a constant's value, a texture sample's texture, a parameter's name and group, a node's comment. Reaches every property the details panel does, because it goes the same way.

hf_set_material_node_propertyWrite

Arguments

NameTypeDescription
materialreqstring
nodereqstringNode name, as hf_list_material_nodes reports it. NOT the caption: the caption is generated from the node's settings and changes when they do.
propertyreqstringProperty name on the expression, e.g. R for a Constant, ParameterName for a parameter, Texture for a sampler. Dotted paths reach into structs.
valuereqstring
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.

Nearby in Materials:

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