Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Framework > API/Runtime/Slate/Framework/Application > API/Runtime/Slate/Framework/Application/FSlateApplication > API/Runtime/Slate/Framework/Application/FSlateApplication/TakeHDRScreenshot
References
| Module | Slate |
| Header | /Engine/Source/Runtime/Slate/Public/Framework/Application/SlateApplication.h |
| Include | #include "Framework/Application/SlateApplication.h" |
| Source | /Engine/Source/Runtime/Slate/Private/Framework/Application/SlateApplication.cpp |
bool TakeHDRScreenshot
&40;
const TSharedRef< SWidget > & Widget,
TArray< FLinearColor > & OutColorData,
FIntVector & OutSize
&41;
Remarks
Takes a screenshot of the widget writing the results into the color buffer provided. This is to be used with HDR buffers the size of the resulting image is also output. true if taking the screenshot was successful.