Create Material Function
Create a Material Function. A new function has NO INPUTS AND NO OUTPUTS, which means a call node for it has no pins and it cannot be used for anything until FunctionInput and FunctionOutput nodes are added to it.
hf_create_material_functionWriteArguments
| Name | Type | Description |
|---|---|---|
destinationreq | string | |
description | string | Shown in the palette and as the call node's tooltip. |
expose_to_library | boolean = true | Whether it appears in the material editor palette. A function that is not exposed can still be called by reference. |
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:
- Audit Materials
- Connect Material Nodes
- Copy Material Parameters
- Create Material
- Create Parameter Collection
- Describe Material
- Describe Material Function
- Describe Material Layers
All 28 tools in Materials — 19 more not listed here.