See the game
viewCapture game screenshots, render scenes offscreen from any angle, screenshot editor viewports, and preview textures, meshes, materials, or scenes.
Instructions
Look at things. Screenshots of the running game (optionally annotated with node markers), offscreen renders of any scene from chosen angles with automatic framing (no editor camera fiddling), editor viewport screenshots, and previews of textures/meshes/materials/scenes. Requires a non-headless editor for rendering.
Actions:
game: {max_size?=1280, annotate?, annotate_groups?, format?} screenshot of the running game. Returns viewport_size + coord_scale (click coordinate = image px * coord_scale).
render: {scene?, focus?: node path, angles?: ['iso','front','top','left','right','back','low'] (3D), size?: [w,h], zoom? (2D), preview_light?=true} render a scene offscreen, auto-framed.
editor: {which?: 'auto'|'2d'|'3d'|'editor'} screenshot of the editor viewport or whole editor window (what the user sees).
preview: {path} picture of a texture, mesh, material or scene file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | res:// resource to preview. | |
| size | No | [width, height] of the render. | |
| zoom | No | 2D zoom multiplier. | |
| focus | No | Node to frame. | |
| scene | No | Scene to render (default: edited scene). | |
| which | No | Editor viewport. | |
| action | Yes | What to do. See the tool description for each action's parameters. | |
| angles | No | Camera angles for 3D. | |
| annotate | No | Draw markers on nodes in the game screenshot. | |
| max_size | No | Longest image side in px. |