get_material_static_switch_parameters
List static switch parameter names for a material instance to find disabled shader branches causing missing rendering features.
Instructions
List the STATIC SWITCH parameter names a material or instance exposes -- the on/off flags that compile whole branches of the shader in or out (beach, snow, detail normals, grass output). Always check these when a material looks correctly configured and still renders wrong: get_material_instance_params does not show them at all, so an instance with every texture and scalar right can still be missing a feature because a switch is false in the parent. Names only; read a value with get_material_instance_static_switch and write it with set_material_instance_static_switch. Editor-only.
Returns: { material_instance_path: string, static_switch_parameters: [string], static_switch_count: int }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| material_instance_path | Yes | Content path to a UMaterialInterface (base material or instance). |