Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/FSlateApplication
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool TakeScreenshot
(
const TSharedRef< SWidget >& Widget, |
Takes a screenshot of the widget writing the results into the color buffer provided. | Framework/Application/SlateApplication.h | |
bool TakeScreenshot
(
const TSharedRef< SWidget >& Widget, |
Takes a screenshot of the widget writing the results into the color buffer provided, this version allows you to provide an inner area to screenshot. | Framework/Application/SlateApplication.h |
TakeScreenshot(const TSharedRef< SWidget > &, TArray< FColor > &, FIntVector &)
Description
Takes a screenshot of the widget writing the results into the color buffer provided. Note that the format is BGRA. the size of the resulting image is also output.
| Name | TakeScreenshot |
| Type | function |
| Header File | /Engine/Source/Runtime/Slate/Public/Framework/Application/SlateApplication.h |
| Include Path | #include "Framework/Application/SlateApplication.h" |
| Source | /Engine/Source/Runtime/Slate/Private/Framework/Application/SlateApplication.cpp |
bool TakeScreenshot
(
const TSharedRef < SWidget > & Widget,
TArray < FColor > & OutColorData,
FIntVector & OutSize
)
true if taking the screenshot was successful.
TakeScreenshot(const TSharedRef< SWidget > &, const FIntRect &, TArray< FColor > &, FIntVector &)
Description
Takes a screenshot of the widget writing the results into the color buffer provided, this version allows you to provide an inner area to screenshot. Note that the format is BGRA. The size of the resulting image is also output.
| Name | TakeScreenshot |
| Type | function |
| Header File | /Engine/Source/Runtime/Slate/Public/Framework/Application/SlateApplication.h |
| Include Path | #include "Framework/Application/SlateApplication.h" |
| Source | /Engine/Source/Runtime/Slate/Private/Framework/Application/SlateApplication.cpp |
bool TakeScreenshot
(
const TSharedRef < SWidget > & Widget,
const FIntRect & InnerWidgetArea,
TArray < FColor > & OutColorData,
FIntVector & OutSize
)
true if taking the screenshot was successful.