unity-camera

Control Unity Scene View and Game cameras, configure FOV, clip planes, and capture screenshots.

2|Updated May 18, 2026
One-click install
npx skills add https://github.com/pcone-mm/NewFPG --skill unity-camera-pcone-mm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-camera
Source: https://github.com/pcone-mm/NewFPG/tree/main/.agents/skills/unity-skills/skills/camera
Command: npx skills add https://github.com/pcone-mm/NewFPG --skill unity-camera-pcone-mm

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Framing shots and configuring cameras in Unity normally requires manual editor interaction, which breaks automated or AI-assisted workflows. This Skill exposes Scene View and Game Camera control as callable operations so an agent can position views, create cameras, tune rendering properties, and capture screenshots without touching the editor UI. ## Core Features & Use Cases - Scene View Control: Move, rotate, and focus the editor Scene View camera on world points or GameObjects with camera_set_transform, camera_look_at, and camera_align_view_to_object. - Game Camera Management: Create cameras and configure FOV, near/far clip planes, clear flags, background color, depth, culling masks, and orthographic projection via camera_create, camera_set_properties, camera_set_culling_mask, and camera_set_orthographic. - Screenshot Capture: Render a single Game Camera off-screen or capture the editor Scene View (with or without grid/gizmos) to PNG, optionally returned as base64 for remote clients. - Use Case: Ask the agent to create a camera at a specific position, set its FOV to 35, switch it to orthographic, and save a 1920x1080 screenshot to Assets/screenshot.png in one conversation. ## Quick Start Ask the agent to create a new Unity camera named Main Camera at position 0, 1, -10 and set its field of view to 60.

Frequently Asked Questions about unity-camera

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I move the Unity Scene View camera programmatically?

Use camera_set_transform with posX/posY/posZ and rotX/rotY/rotZ to set the Scene View camera position and Euler rotation. To focus on an object instead, call camera_align_view_to_object with a GameObject name, instanceId, or hierarchy path.

How do I change a Unity camera's FOV or clipping planes?

Call camera_set_properties with the camera's name, instanceId, or path plus fieldOfView, nearClipPlane, or farClipPlane values. There is no separate camera_set_fov operation; all property changes go through camera_set_properties.

What is the difference between camera_screenshot and scene_screenshot in Unity?

camera_screenshot renders a single Game Camera off-screen, while scene_screenshot captures the Game View final composite including all cameras and UI. camera_sceneview_screenshot captures the editor Scene View viewport, optionally including grid and gizmos.

Can this skill control Cinemachine virtual cameras?

No, Cinemachine virtual cameras are handled by the separate cinemachine module. This skill only controls the Scene View camera and standard Unity Game Cameras with Camera components.

Why does camera_move or camera_set_fov not work?

Those operations do not exist. Use camera_set_transform for Scene View movement, gameobject_set_transform for Game Camera movement, and camera_set_properties with the fieldOfView parameter for FOV changes.

How do I get a Unity camera screenshot without filesystem access?

Set returnImage=true on camera_screenshot or camera_sceneview_screenshot to receive the PNG as base64 in the response. Use maxDimension to downscale the returned image, since payloads over 8MB are rejected while the file is still saved.