get_material_instance_static_switch
Read a static-switch parameter value from a Material Instance Constant to check its boolean state and override status.
Instructions
Read a static-switch (static bool) parameter value from a Material Instance Constant (via UMaterialEditingLibrary::GetMaterialInstanceStaticSwitchParameterValue). Editor-only.
Returns: { material_instance_path: string, parameter_name: string, association: string, value: bool, overridden: bool }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| association | No | Optional EMaterialParameterAssociation: "Global" (default), "Layer", or "Blend". | |
| layer_index | No | Optional zero-based index for Layer/Blend association (ignored for Global). | |
| parameter_name | Yes | Name of the static-switch parameter. | |
| material_instance_path | Yes | Content path to the UMaterialInstanceConstant. |