Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/FSlateRenderer
Description
Prepares the renderer to take a screenshot of the UI. The Rect is portion of the rendered output that will be stored into the TArray of FColors.
| Name | PrepareToTakeScreenshot |
| Type | function |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Rendering/SlateRenderer.h |
| Include Path | #include "Rendering/SlateRenderer.h" |
virtual void PrepareToTakeScreenshot
(
const FIntRect & Rect,
TArray < FColor > * OutColorData,
SWindow * InScreenshotWindow
)