copy_material_instance_params
Copy scalar, vector, and texture overrides from one material instance to another to clone a calibration without resetting parameters one by one.
Instructions
Bulk-copy every scalar, vector and texture OVERRIDE from one material instance to another -- the way to clone a calibration onto a sibling instance instead of re-setting parameters one by one. Copies overrides only, so anything the source inherited untouched is not carried, and STATIC SWITCHES are not copied at all (set those with set_material_instance_static_switch). Read the copied counts in the reply and verify with get_material_all_parameters; diff_material_instances shows what still differs.
Returns: { source_path: string, destination_path: string, scalars_copied: int, vectors_copied: int, textures_copied: int }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source_path | Yes | Content path of the source UMaterialInstanceConstant. | |
| destination_path | Yes | Content path of the destination UMaterialInstanceConstant. |