ue5_screenshot
Captures Unreal Editor screenshots from the viewport, agent camera, or PIE for visual self-checking, so you can inspect rendered results and fix issues.
Instructions
Screenshot for visual self-check (edit -> screenshot -> inspect -> fix). source: editor_viewport | agent_camera (camera {pitch,yaw,roll} required) | pie (fails loudly if PIE not running). Returns an image block + saved_path / camera_used provenance; PNG also saved for the dashboard. | 视觉自检截图;camera_used 可溯源,PIE 未运行 fail-loud。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| camera | No | agent_camera rig {pitch, yaw, roll}; REQUIRED for source=agent_camera | agent_camera 的机位角(该来源必填) | |
| source | Yes | 'editor_viewport' | 'agent_camera' | 'pie' (default editor_viewport) | 截图来源 | |
| annotate | No | Draw visible actor name labels (default true; needs Pillow) | 是否叠加 actor 名标注 | |
| out_name | No | Optional relative filename inside the screenshot folder, e.g. 'shot_a.png' | 约定目录内的相对文件名(缺省自动命名) | |
| max_dimension | No | Long-edge cap of the returned image (default 768) | 返回图像长边上限 |