set_mid_texture_param
Set a texture parameter override on a transient Material Instance Dynamic by MID path. Changes apply immediately, are not saved, and only global texture parameter names are accepted.
Instructions
Set a texture parameter override on a transient Material Instance Dynamic (MID), found by object path or name as create_material_instance_dynamic or create_dynamic_material_on_actor return it; it takes effect at once and is never saved. parameter_name must be a global texture parameter of the MID's material (as get_mid_all_params lists it); any other name is refused and nothing is written. set is the read-back of the new texture. Scalars and vectors: set_mid_scalar_param, set_mid_vector_param.
Returns: { mid_path, parameter_name, old_texture_path, new_texture_path, requested_texture_path, set }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mid_path | Yes | Object path of the MID (transient or component-owned full path) | |
| texture_path | Yes | Content path to the texture to assign | |
| parameter_name | Yes | Name of a texture parameter of the MID's material |