set_material_physical_material
Link or clear a UPhysicalMaterial on a UMaterial asset and persist the change to disk.
Instructions
Link (or clear) the UPhysicalMaterial on a UMaterial asset and persist it to disk. Idempotent: re-setting the same phys-mat returns already_set=true. An empty/omitted physical_material_path CLEARS the link (sets it to null).
Returns: { material_path: string, physical_material_path: string, already_set: bool, saved: bool, save_error?: string, success: bool }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| material_path | Yes | Full path to the material (e.g., '/Game/Materials/MyMaterial.MyMaterial') | |
| physical_material_path | No | Path to the UPhysicalMaterial asset to link, or "" / omitted to clear the link |