Skip to content
Jigwright
HullForge docs

Set Material Property

Blend mode, shading model, two-sided, translucency lighting, and the used-with flags. EVERY ONE OF THESE IS A STATIC PERMUTATION SETTING: changing one recompiles this material and every instance under it on every platform, and the reply says how many that is.

hf_set_material_propertyWrite

Arguments

NameTypeDescription
materialreqstring
propertyreqstringProperty name as the details panel shows it: BlendMode, ShadingModel, TwoSided, bUseMaterialAttributes, TranslucencyLightingMode, bUsedWithSkeletalMesh, bUsedWithInstancedStaticMeshes, and so on.
valuereqstringThe value. Enums take the engine spelling: BLEND_Masked, MSM_Unlit, TLM_Surface. Booleans take true or false.
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.