set_rig_control_settings
Edit an existing Control Rig control's shape, gizmo, color, and limit-draw settings that can't be set after creation. Applies changes, recompiles, and verifies.
Instructions
Edit an existing Control Rig control's shape/gizmo/color/limit-draw settings (the bits add_rig_control can't set afterwards). Read-modify-write: reads the control's FRigControlSettings, applies the provided fields, writes back via URigHierarchyController::SetControlSettings, recompiles + saves, and returns the verified read-back. Only the supplied fields change.
Returns: { asset_path: string, control_name: string, settings_applied: { display_name, shape_name, shape_color: [float], shape_visible, draw_limits }, applied_count: int, saved: bool, save_error?: string }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Optional. This command is REFUSED while a Play-in-Editor session is running: it either compiles a Blueprint (the reinstancer can retain a world, and CheckForWorldGCLeaks is Fatal -- it KILLS the editor) or writes to disk (Editor.AllowSavingAssetsDuringPIE=0 makes the engine refuse the write, so it would report success without writing a byte). Stop PIE and retry instead; force=true runs it anyway, at your own risk. | |
| shape_name | No | Optional gizmo shape name (e.g. "Default", "Box", "Sphere", "Circle"). | |
| draw_limits | No | Optional bool: whether to draw the control's limits in debug. | |
| shape_color | No | Optional shape color [R, G, B] or [R, G, B, A] floats (0..1). | |
| control_name | Yes | Name of an existing control element. | |
| display_name | No | Optional display name (FName) for the control. | |
| shape_visible | No | Optional bool: whether the gizmo shape is visible in 3D. | |
| control_rig_path | Yes | Path to the UControlRigBlueprint asset. |