get_material_layer_parameter
Read a specific layer parameter value from a layered material instance using a zero-based index, with a found flag to verify the value and layer association.
Instructions
Read one parameter's value scoped to a specific LAYER of a layered material instance (by zero-based layer_index), with a found flag. The read-back oracle for set_material_layer_parameter, and the way to tell which layer a value actually belongs to -- get_material_all_parameters lists every layer's parameters together with their association, which is broader but noisier when you already know the slot.
Returns: { material_instance_path: string, parameter_name: string, layer_index: int, found: bool, value: float | {r,g,b,a} | string }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer_index | Yes | Zero-based layer index | |
| parameter_name | Yes | Name of the parameter to read | |
| parameter_type | Yes | One of "scalar", "vector", "texture" | |
| material_instance_path | Yes | Content path to the MIC |