ScreenCapture
Provides methods to take screenshots.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Class
- Namespace: UnityEngine
- Assembly: UnityEngine.ScreenCaptureModule
public static class ScreenCapture
Static Methods
Method | Description |
|---|---|
| CaptureScreenshot | Captures a screenshot and saves it as a .png file to a specified path. |
| CaptureScreenshotAsTexture | Captures a screenshot of the game view into a Texture2D object. |
| CaptureScreenshotIntoRenderTexture | Captures a screenshot of the game view into a RenderTexture object. |
Enums
Enum | Description |
|---|---|
| ScreenCapture.StereoScreenCaptureMode | Enumeration specifying the eye texture to capture when using ScreenCapture.CaptureScreenshot and when stereo rendering is enabled. |