ue_umg_set_slot
Configure layout slot properties for a widget in an Unreal Engine blueprint: position, size, alignment, padding, z-order, based on slot type.
Instructions
Imposta il layout di un widget dentro il suo pannello.
Le chiavi valide dipendono dal pannello che lo contiene, e
ue_umg_tree_info riporta slot_class per saperlo:
CanvasPanelSlot:position[x, y],size[x, y],z_order,alignment,auto_size.VerticalBoxSlot/HorizontalBoxSlot:padding(numero singolo, o [left, top, right, bottom], o {"left":…}),horizontal_alignment,vertical_alignment.
Le liste di 2 numeri diventano Vector2D, quelle di 4 un Margin.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"widget_blueprint_path": "<widget_blueprint_path>",
"widget": "<widget>",
"properties": "<properties>"
},
"name": "ue_umg_set_slot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| widget | Yes | ||
| properties | Yes | ||
| widget_blueprint_path | Yes |