isolate_usd_layer
Isolate a USD layer in Unreal Engine by swapping an actor's stage for a stage rooted at a chosen sublayer, optionally regenerating assets, actors and components from it.
Instructions
Enter isolated mode by replacing the actor's displayed stage with a new stage rooted at one of the sublayers of the current layer stack. Wraps AUsdStageActor::IsolateLayer(Layer, b_load_usd_stage). The layer_index selects into Stage.GetLayerStack(true) — index 0 is the root layer, >0 are sublayers. When b_load_usd_stage is true (default) assets, actors and components are regenerated from the isolated stage; when false the isolation is structural only.
Returns: { actor_path: string, layer_index: int, isolated_layer: string, b_load_usd_stage: bool }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actor_path | Yes | Full actor path (or short name) of the AUsdStageActor. | |
| layer_index | No | Index into the actor's stage layer stack (default 0 = root layer). | |
| b_load_usd_stage | No | Load assets/components from the isolated stage (default true). |