跳到正文
cccskills
免费在 GitHub 公开

screenshot-scene-view

Capture the Unity Editor Scene View at a chosen width and height and return a PNG image for visual inspection. AI agents can use the image to review scene layout and appearance.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

Capture a screenshot from the Unity Editor Scene View at the requested size. Renders via the Scene View's active camera onto a temporary `RenderTexture`. Requires an open Scene View.

集成工具Unity
查看安装方法

适用场景

  • Reviewing object placement in a Unity scene
  • Inspecting the scene at a specified image size
  • Sharing a Scene View image with an AI agent

包含的文件(1)

  • SKILL.md2.0 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Screenshot / Scene View

Captures a screenshot from the Unity Editor Scene View and returns it as an image. Returns the image directly for visual inspection by the LLM.

Inputs

  • width (default 1920) / height (default 1080) — output pixels. Must be > 0 and ≤ MaxDimension.

Behavior

Uses SceneView.lastActiveSceneView (falls back to the first window in SceneView.sceneViews). Allocates a temporary RenderTexture, swaps it onto the Scene View's camera, calls Render, reads back with Texture2D.ReadPixels, encodes PNG, and restores the camera's prior targetTexture. Throws/errors when no Scene View is open or the Scene View camera is null.

How to Call

unity-mcp-cli run-tool screenshot-scene-view --input '{
  "width": 0,
  "height": 0
}'

For complex input (multi-line strings, code), save the JSON to a file and use:

unity-mcp-cli run-tool screenshot-scene-view --input-file args.json

Or pipe via stdin (recommended):

unity-mcp-cli run-tool screenshot-scene-view --input-file - <<'EOF'
{"param": "value"}
EOF

Troubleshooting

If unity-mcp-cli is not found, either install it globally (npm install -g unity-mcp-cli) or use npx unity-mcp-cli instead. Read the /unity-initial-setup skill for detailed installation instructions.

Input

NameTypeRequiredDescription
widthintegerNoWidth of the screenshot in pixels.
heightintegerNoHeight of the screenshot in pixels.

Input JSON Schema

{
  "type": "object",
  "properties": {
    "width": {
      "type": "integer"
    },
    "height": {
      "type": "integer"
    }
  }
}

Output

This tool does not return structured output.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

build-cli

免费

Build unity-mcp-cli from its TypeScript source and optionally make the command available across terminals with npm link. Covers dependency installation, compilation, version checks, and reporting errors when a step fails.

中文简介正在准备中。当前显示英语简介。

  • Build unity-mcp-cli from source for the first time
  • Rebuild the CLI after changing TypeScript files
  • Make the CLI command available across terminals
IvanMurzak/Unity-MCP45102026年10月20日 更新

Save changed scenes and assets, then quit a Unity Editor started by a CLI session. A matching session identifier is required, and editors opened manually are left running. Headless editors are supported.

中文简介正在准备中。当前显示英语简介。

  • Closing a Unity Editor after CLI work
  • Saving changes before ending a headless session
  • Closing only the editor owned by a CLI session
IvanMurzak/Unity-MCP45102026年10月20日 更新

Review unresolved GitHub pull request comments against the current code, apply minimal fixes for valid issues, and reply to review threads. Comments that need human judgment remain open, while fixed or unnecessary requests are resolved with explanations.

中文简介正在准备中。当前显示英语简介。

  • Addressing unresolved pull request reviews
  • Checking whether review comments still apply
  • Separating fixes from requests needing human review
IvanMurzak/Unity-MCP45102026年10月20日 更新

Add packages to a Unity project from its package registry, a Git URL, or a local path. Choose a compatible version or specify one, and receive the installation result after any required reload.

中文简介正在准备中。当前显示英语简介。

  • Installing a Unity registry package
  • Adding a package at a specific version
  • Installing from a Git branch or tag
IvanMurzak/Unity-MCP45102026年10月20日 更新

List packages installed in a Unity project with their names, versions, sources, and descriptions. Filter by source or keyword, or show only direct dependencies—the packages explicitly listed in the project manifest.

中文简介正在准备中。当前显示英语简介。

  • Checking installed package versions
  • Listing packages installed from Git
  • Reviewing only direct dependencies
IvanMurzak/Unity-MCP45102026年10月20日 更新

Remove an installed UPM package, a package managed by Unity, from a project. Checks that it exists, updates manifest.json, and delivers the result after any reload. Built-in packages and dependencies of other packages cannot be removed.

中文简介正在准备中。当前显示英语简介。

  • Remove an unused package from a Unity project
  • Check whether a package is installed before removal
  • Receive removal results after Unity finishes reloading
IvanMurzak/Unity-MCP45102026年10月20日 更新

查看 IvanMurzak 的全部技能

报告此技能的问题