Skip to content
Jigwright
HullForge docs

Create Material

Create a Material asset. A new material is NOT empty and it is NOT black: the engine gives it a default white base colour with nothing connected, so it compiles and renders from the moment it exists. Nothing about it says it is unfinished.

hf_create_materialWrite

Arguments

NameTypeDescription
destinationreqstringPackage path, e.g. /Game/Materials/M_Rock.
blend_modestringOpaque unless given. Changing it later recompiles every instance below it.
Opaque | Masked | Translucent | Additive | Modulate | AlphaComposite | AlphaHoldout
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.
two_sidedboolean
= false

Nearby in Materials:

All 28 tools in Materials — 19 more not listed here.