set_material_instance_base_overrides
Set base property overrides for blend mode, two-sided, shading model, or opacity mask clip on a Material Instance Constant. Each provided axis persists; omitted axes remain unchanged.
Instructions
Set one or more base property overrides (BasePropertyOverrides) on a Material Instance Constant. Each provided axis sets BOTH its bOverride_ flag and value; omitted axes are left untouched. Persists to the asset.
Returns: { material_instance_path: string, applied_count: int, saved: bool, override_blend_mode: bool, blend_mode: string, override_two_sided: bool, two_sided: bool, override_shading_model: bool, shading_model: string, override_opacity_mask_clip_value: bool, opacity_mask_clip_value: float, blend_mode_warning?: string, shading_model_warning?: string }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| two_sided | No | Optional bool to override the two-sided flag. | |
| blend_mode | No | Optional EBlendMode name ("Translucent" or "BLEND_Translucent"): Opaque/Masked/Translucent/Additive/Modulate/AlphaComposite/AlphaHoldout. | |
| shading_model | No | Optional EMaterialShadingModel name ("Unlit" or "MSM_Unlit"): Unlit/DefaultLit/Subsurface/ClearCoat/... | |
| material_instance_path | Yes | Content path to the UMaterialInstanceConstant, e.g. /Game/MyGame/MI_Example | |
| opacity_mask_clip_value | No | Optional float to override the opacity mask clip value. |