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_materialWriteArguments
| Name | Type | Description |
|---|---|---|
destinationreq | string | Package path, e.g. /Game/Materials/M_Rock. |
blend_mode | string | Opaque unless given. Changing it later recompiles every instance below it. Opaque | Masked | Translucent | Additive | Modulate | AlphaComposite | AlphaHoldout |
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. |
two_sided | boolean = false |
Related tools
Nearby in Materials:
- Add Material Parameter
- Audit Materials
- Connect Material Nodes
- Copy Material Parameters
- Create Material Function
- Create Parameter Collection
- Describe Material
- Describe Material Function
All 28 tools in Materials — 19 more not listed here.