capture_viewport
Need to verify the current scene layout? Capture the editor viewport as a downscaled WebP image to inspect the edit-time camera view.
Instructions
Capture a screenshot of the editor viewport (the current editing camera view) as a downscaled WebP image, for visual verification of edit-time state. Tip: call focus_viewport first to frame the entities you care about. Note: this renders the editor preview only (scripts/physics/animation are NOT running). When NOT to use: to verify play-mode/runtime behavior (use capture_runtime after launch_start).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||