Skip to main content

Basic capture

ScreenshotCapture.Capture returns a CaptureResult with Success, FilePath, ErrorMessage, and Texture fields. The final resolution is settings.width * settings.sizeMultiplier by settings.height * settings.sizeMultiplier.

One-line convenience wrapper

ScreenshotKitAPI.CaptureScreenshot returns the saved file path, or null on failure. Call ScreenshotKitAPI.SetRuntimeSettings(settings) once to set the settings used when the argument is omitted.

Batch from script

There is no dedicated batch API; loop your own cameras:

Panoramas from script

The panorama layout, aim mode, cubemap face size, and output width all come from the ScreenshotSettings asset, matching the Capture tab’s 360 Panorama section.

See also