material_instance_create
Create a Material Instance Constant from a parent material with optional scalar, vector, and texture parameter overrides, then save it to the specified content directory.
Instructions
Create a MaterialInstanceConstant from a parent material with optional scalar/vector/texture parameter overrides. Saves the instance.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Asset name, e.g. MI_Rock_Mossy. | |
| path | Yes | Content directory. | |
| scalar_params | No | Scalar parameter overrides: {ParamName: value}. | |
| vector_params | No | Vector parameter overrides: {ParamName: [r, g, b, a?]}. | |
| texture_params | No | Texture parameter overrides: {ParamName: texture asset path}. | |
| parent_material | Yes | Parent material asset path. |