Skip to content
Jigwright
HullForge docs

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_parametersWrite

Arguments

NameTypeDescription
destinationreqstringMaterial instance to copy ONTO. Its existing overrides are replaced.
sourcereqstringMaterial or material instance to copy FROM.
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.