Skip to main content
Use the Runtime API when you want to drive captures from your own scripts at runtime: a hotkey in a built game, an in-game photo mode, or an automated capture pass at the end of a scene. All types live in the DaCruz.ScreenshotKit namespace, in the DaCruz.ScreenshotKit runtime assembly.

The types

Video recording (the Record tab) is editor-driven: encoding runs through the editor’s media backend, so there is no runtime API for writing MP4 / WebM files from a build.

Editor window or API?

  • Capturing while authoring scenes: use the window, it is faster.
  • Capturing in a built game, from gameplay code, or on a schedule: use the API.
  • Both share the same ScreenshotSettings asset, so filenames, formats, and matte selections stay consistent.