set_material_function_instance_parent
Re-parent a material function instance to a new material function or function instance in one undoable transaction, saving it; success requires the save.
Instructions
Re-parent a UMaterialFunctionInstance asset to another material function or function instance in one undoable transaction, then save it; success requires the save. Returns old_parent and new_parent, read back from the asset ("(none)" when empty).
Returns: { instance_path: string, old_parent: string, new_parent: string, applied: bool, saved: bool }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instance_path | Yes | Asset path of the UMaterialFunctionInstance to re-parent | |
| parent_function_path | Yes | Asset path of the new parent UMaterialFunctionInterface |