Screenshot / Isolated Node
screenshot-isolatedRender a single Node3D in isolation from a chosen camera angle, auto-framed to its bounding box, and return a PNG for inspection without mutating the edited scene.
Instructions
Render a target Node3D in ISOLATION (only the target is visible, in its own world) from a chosen camera angle, framed automatically to its bounding box, lit by a default directional light, and return the result as a PNG image for direct LLM inspection. Identify the target with 'nodeRef'. Choose the view with 'cameraView' (Front/Back/Left/Right/Top/Bottom). Pick a 'background' (SolidColor or Transparent) and, for SolidColor, a hex 'backgroundColor'. The target is rendered via a temporary off-screen copy, so the edited scene is never mutated. Output is a square 'resolution'x'resolution' PNG, capped to keep the response transportable. NOTE: rendering needs a real GPU — a Godot launched with '--headless' yields an empty image, surfaced here as a structured error rather than a blank PNG.
Argument types — give these arguments as RQL values (as in rql-mutate): {key: value, …}, [a, b], "text", 1.5, true, ref("Node3D#12") from a query result, godot.find("Name"); leave out keys you do not need: NodeRef — a node: ref("Node3D#12") from a query, godot.find("Name"), an instance id, or its path below the scene root as text ("Level/Player")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeRef | Yes | Reference to the target Node3D to render in isolation (instanceId preferred, else path). RQL: NodeRef | |
| padding | No | Framing multiplier around the object. 1.0 = tight fit, 1.5 = 50% extra space. Default: 1.2. | |
| background | No | Background mode for the render: SolidColor (default) or Transparent. | |
| cameraView | No | Camera angle relative to the target's bounding box. Default: Front. | |
| resolution | No | Output image resolution in pixels (width = height). Default: 512. | |
| fieldOfView | No | Camera vertical field of view in degrees. Default: 60. | |
| farClipPlane | No | Far clip plane distance. Default: 4000. | |
| nearClipPlane | No | Near clip plane distance. Default: 0.05. | |
| backgroundColor | No | Hex background color (e.g. '#404040'). Used only when background is SolidColor. |