set_mpci_parent_collection
Rebuild a Material Parameter Collection Instance for a collection path on an editor or live world, resetting its transient per-world values to the collection defaults at runtime.
Instructions
Rebuild the Material Parameter Collection Instance (MPCI: the transient per-world values) of collection_path on a world, the editor world by default. Instances are keyed by their collection, so this cannot move an instance to a different parent: it replaces the instance for collection_path with a fresh one at that collection's defaults, losing its overrides, and leaves other collections' instances alone -- the same effect as create_material_parameter_collection_instance. Runtime only: nothing saved, no undo. previous_parent_path is always the collection itself and already_attached always true.
Returns: { collection_path: string, previous_parent_path: string, world_name: string, is_valid: bool, already_attached: bool, attached: 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 new parent MPC |