clear_mpci_parameter_overrides
Resets a Material Parameter Collection Instance on a world to its default scalar and vector values by clearing all overrides. Use for runtime-only rollback of per-world MPC changes; nothing is saved.
Instructions
Reset the Material Parameter Collection Instance (MPCI: the transient per-world values of a collection asset) of one collection on a world, the editor world by default, to the collection's default values by dropping all its scalar and vector overrides. Runtime only: nothing is saved, no undo. The engine creates the instance on lookup when the world has none, so a missing instance is not an error. scalars_reset_to_default and vectors_reset_to_default count parameters now reading their default. For a Material Instance Constant asset use clear_material_parameter_overrides.
Returns: { collection_path: string, world_name: string, scalar_count: int, vector_count: int, scalars_reset_to_default: int, vectors_reset_to_default: int, cleared: bool }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| world_label | No | Empty or "editor" for the editor world (the default); otherwise the UWorld name of a live world context, compared case-insensitively (first match) | |
| collection_path | Yes | Full /Game path of the parent MPC |