material_create_instance_from_master
Create a material instance constant from a master material: define instance name, parent material path, and folder path to produce a reusable variation. Handles overwrite and save options.
Instructions
Create a Material Instance Constant from a master Material.
Args: instance_name: Material instance asset name, e.g. "MI_Prop_Red" parent_material_path: Parent material or material instance path folder_path: Content Browser folder for the instance overwrite: Delete/recreate an existing asset at the same path save: Save the asset package immediately
KB: see knowledge_base/08_MATERIALS_AND_RENDERING.md#overview Example: material_create_instance_from_master(instance_name="ExampleName", parent_material_path="/Game/MCP_Test/M_Example")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save | No | ||
| overwrite | No | ||
| folder_path | No | /Game/Materials/Instances | |
| instance_name | Yes | ||
| parent_material_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |