ue_create_material_instance
Create a Material Instance from a parent material and set its parameters, enabling efficient variation without recompiling the material graph.
Instructions
Crea una Material Instance da un materiale padre e ne imposta i parametri.
Variare un materiale via istanza non ricompila il grafo: è la via economica per avere molte varianti dello stesso materiale.
Args: package_path: cartella di destinazione. name: es. "MI_Brick_Red". parent_path: materiale padre, es. "/Game/MyGame/Materials/M_Brick". parameters: mappa nome -> valore. Numero = scalare, dict {"r","g","b"} = colore, bool = static switch, path /Game/... = texture.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| parameters | No | ||
| parent_path | Yes | ||
| package_path | Yes |