Skip to content

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

Unity Agent Vision

Game View capture (including Screen Space - Overlay UI) and screenshot abilities for AI agents.

Requirements

Installation

Add both packages to your project's Packages/manifest.json:

{
  "dependencies": {
    "com.lambda-labs.unity-repl": "https://github.com/LambdaLabsHQ/unity-repl.git",
    "com.lambda-labs.unity-agent-vision": "https://github.com/LambdaLabsHQ/unity-agent-vision.git"
  }
}

Usage from REPL

// Capture Game View with Overlay UI (HUD, health bars, etc.)
var result = LambdaLabs.UnityAgentVision.GameViewCaptureAbility.CaptureToFile("my_shot");

// Runtime screenshot (no overlay UI, works in Edit Mode too)
var result = LambdaLabs.UnityAgentVision.ScreenshotAbility.CaptureToFile("shot", superSize: 1);

Why this exists

Unity's Camera.Render() produces a pure 3D render — no Screen Space Overlay UI. GameViewCaptureAbility reads GameView's internal m_RenderTexture (via reflection) which includes the fully composited output with HUD.

License

This package is part of the Unity REPL project and is licensed under the GNU Affero General Public License v3.0.

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages