Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FScreenshotRequest
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void RequestScreenshot
(
bool bInShowUI |
Requests a new screenshot. | UnrealClient.h | |
static void RequestScreenshot
(
const FString& InFilename, |
Requests a new screenshot with a specific filename | UnrealClient.h |
RequestScreenshot(bool)
Description
Requests a new screenshot. Screenshot can be read from memory by subscribing to the ViewPort's OnScreenshotCaptured delegate.
| Name | RequestScreenshot |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/UnrealClient.h |
| Include Path | #include "UnrealClient.h" |
| Source | /Engine/Source/Runtime/Engine/Private/UnrealClient.cpp |
static void RequestScreenshot
(
bool bInShowUI
)
Parameters
| Name | Remarks |
|---|---|
| bInShowUI | Whether or not to show SlateUI |
RequestScreenshot(const FString &, bool, bool, bool, const FIntRect &)
Description
Requests a new screenshot with a specific filename
| Name | RequestScreenshot |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/UnrealClient.h |
| Include Path | #include "UnrealClient.h" |
| Source | /Engine/Source/Runtime/Engine/Private/UnrealClient.cpp |
static void RequestScreenshot
(
const FString & InFilename,
bool bInShowUI,
bool bAddFilenameSuffix,
bool bHdrScreenshot,
const FIntRect & InViewRect
)
Parameters
| Name | Remarks |
|---|---|
| InFilename | The filename to use |
| bInShowUI | Whether or not to show SlateUI |
| 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 |