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_propertyWriteArguments
| Name | Type | Description |
|---|---|---|
materialreq | string | |
nodereq | string | Node 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. |
propertyreq | string | Property name on the expression, e.g. R for a Constant, ParameterName for a parameter, Texture for a sampler. Dotted paths reach into structs. |
valuereq | string | |
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. |
Related tools
Nearby in Materials:
- Recompile Material
- Remove Material Node
- Reset Material Parameter
- Set Collection Parameter
- Set Material Layer
- Set Material Parameter
- Set Material Property
- Set Material Static Switch
All 28 tools in Materials — 19 more not listed here.