add_image_to_widget
Add an Image widget to a target Widget Blueprint by specifying its component name, optional texture path, position, size, and tint color. Use it to populate UMG interfaces programmatically.
Instructions
Add an Image widget to a Widget Blueprint.
Args: widget_name: Widget Blueprint name image_name: Component name texture_path: Texture asset path (optional) position: [X, Y] position size: [Width, Height] color: [R,G,B,A] tint color
KB: see knowledge_base/06_UI_UMG_SYSTEMS.md#overview Example: add_image_to_widget(widget_name="/Game/MCP_Test/WBP_Example", image_name="ExampleName")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | ||
| color | No | ||
| position | No | ||
| image_name | Yes | ||
| widget_name | Yes | ||
| texture_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |