ゲーム画面スクショ
dx12_screenshot_game_viewCapture a single-frame screenshot of the scene from the active game camera viewpoint and return it as a PNG. Confirm camera composition in the Editor without playing.
Instructions
アクティブな CameraComponent(ゲームカメラ)視点でシーンを1フレーム描画して PNG で返す。★Editor 中でも Play せずにゲームカメラの見え方(画角・構図)を確認できる。アクティブなカメラが無いとエラー(camera.isActive=true にする)。image ブロック + text(path/サイズ/mode)を返す。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "dx12_screenshot_game_view"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||