#include <UnrealClient.h>
◆ CreateViewportScreenShotFilename()
| void FScreenshotRequest::CreateViewportScreenShotFilename |
( |
FString & |
InOutFilename | ) |
|
|
static |
Creates a new screenshot filename from the passed in filename template
◆ GetFilename()
| static const FString & FScreenshotRequest::GetFilename |
( |
| ) |
|
|
inlinestatic |
- Returns
- The filename of the next screenshot
◆ GetHighresScreenshotMaskColorArray()
| TArray< FColor > * FScreenshotRequest::GetHighresScreenshotMaskColorArray |
( |
| ) |
|
|
static |
Access a temporary color array for storing the pixel colors for the highres screenshot mask
◆ GetHighresScreenshotMaskExtents()
| FIntPoint & FScreenshotRequest::GetHighresScreenshotMaskExtents |
( |
| ) |
|
|
static |
Extents of array returned by function above
◆ GetViewRect()
- Returns
- The view rect for the next screenshot
◆ IsScreenshotRequested()
| static bool FScreenshotRequest::IsScreenshotRequested |
( |
| ) |
|
|
inlinestatic |
- Returns
- True if a screenshot is requested
◆ OnScreenshotCaptured()
◆ OnScreenshotRequestProcessed()
◆ RequestScreenshot() [1/2]
| void FScreenshotRequest::RequestScreenshot |
( |
bool |
bInShowUI | ) |
|
|
static |
Requests a new screenshot. Screenshot can be read from memory by subscribing to the ViewPort's OnScreenshotCaptured delegate.
- Parameters
-
| bInShowUI | Whether or not to show Slate UI |
◆ RequestScreenshot() [2/2]
| void FScreenshotRequest::RequestScreenshot |
( |
const FString & |
InFilename, |
|
|
bool |
bInShowUI, |
|
|
bool |
bAddFilenameSuffix, |
|
|
bool |
bHdrScreenshot = false, |
|
|
const FIntRect & |
InViewRect = FIntRect() |
|
) |
| |
|
static |
Requests a new screenshot with a specific filename
- Parameters
-
| InFilename | The filename to use |
| bInShowUI | Whether or not to show Slate UI |
| bAddFilenameSuffix | Whether an auto-generated unique suffix should be added to the supplied filename |
| bHdrScreenshot | If true, the screenshot is saved as .exr rather than .png |
| InViewRect | If non-empty, within the viewport extent, and bInShowUI=false, only this view rect will be included in the screenshot |
◆ Reset()
| void FScreenshotRequest::Reset |
( |
| ) |
|
|
static |
Resets a screenshot request
◆ ShouldShowUI()
- Returns
- True if UI should be shown in the screenshot
The documentation for this struct was generated from the following files: