recompile_material_function
Update a material function, layer, or function instance by recompiling it, so loaded materials reload and dependent instances are marked dirty before saving the asset.
Instructions
Recompile a material function, layer or function instance (UpdateMaterialFunction): loaded materials using it recompile and dependent function instances are marked dirty but not saved, then the function itself is saved; success requires that save. recompiled is always true, not a shader-error report.
Returns: { material_function_path: string, function_class: string, recompiled: bool, saved: bool }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| material_function_path | Yes | Asset path of the UMaterialFunctionInterface (function, layer or function instance), e.g. "/Game/Materials/MF_Blend". |