Skip to content
Jigwright
HullForge docs

Create Material Instance

Create a Material Instance from a parent material. This is how you get something whose parameters can be set - parameters cannot be set on a base Material. Verifies the asset exists afterwards. Call hf_save_object to persist it.

hf_create_material_instanceWrite

Arguments

NameTypeDescription
destinationreqstringFull path for the new asset, e.g. /Game/Materials/MI_Rock. Must be under /Game/.
parentreqstringAsset path of the parent Material or Material Instance.

Nearby in Assets and discovery:

All 11 tools in Assets and discovery — 2 more not listed here.