FSlateRenderer::PrepareToTakeScreenshot

Prepares the renderer to take a screenshot of the UI.

Windows
MacOS
Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Rendering/SlateRenderer.h

Include

#include "Rendering/SlateRenderer.h"

Syntax

virtual void PrepareToTakeScreenshot
(
    const FIntRect & Rect,
    TArray< FColor > * OutColorData,
    SWindow * InScreenshotWindow
)

Remarks

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss