ScreenshotTaker
A class in Root.Township, the global namespace.
Static helper that renders the local player's camera at 4x screen size and saves it as an image in the Screenshots storage folder. Client only.
- Listed in Global namespace: S
- Nested types
ImageFormat
Constructors
| Member | What it is |
|---|---|
ScreenshotTaker() | Creates a ScreenshotTaker with default values. |
Fields
| Member | What it is |
|---|---|
static ScreenshotTaker.ImageFormat imageFormat | Image format to save in. Reset to PNG by TakeScreenShot. |
static string lastScreenshot | Path of the last screenshot file. |
static Camera myCamera | Camera to render. Set to the local player's camera on each shot. |