Copy Material Parameters
Copy parameter values from one material or instance onto another instance. Uses the engine's own CopyMaterialUniformParameters, which copies UNIFORM parameters: scalars, vectors and textures. Static switches and layers are NOT uniform and are not copied.
hf_copy_material_parametersWriteArguments
| Name | Type | Description |
|---|---|---|
destinationreq | string | Material instance to copy ONTO. Its existing overrides are replaced. |
sourcereq | string | Material or material instance to copy FROM. |
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:
- Add Material Node
- Add Material Parameter
- Audit Materials
- Connect Material Nodes
- Create Material
- Create Material Function
- Create Parameter Collection
- Describe Material
All 28 tools in Materials — 19 more not listed here.