create_material_instance_constant
Creates a material instance constant asset under a /Game path, optionally parented to a base material. Safely re-skin vendor or engine materials without modifying the original.
Instructions
Create a material instance (MIC) asset under a /Game path, optionally parented to a base material on creation. The right way to re-skin a vendor or engine material: the instance is yours, the parent stays untouched and updatable, and only the parameters you override are stored. Idempotent -- an existing asset comes back with already_existed=true. Same operation as create_material_instance, which addresses the target by folder plus name instead of a full path.
Returns: { material_instance_path: string, material_instance_name: string, parent_material_path: string, created: bool, already_existed: bool, saved: bool, save_error?: string }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the new material instance asset. | |
| package_path | No | Target content folder; defaults to /Game/MCP. | |
| parent_material_path | No | Optional content path of a UMaterialInterface to set as Parent (InitialParent on the factory). |