Navigation
API > API/Plugins > API/Plugins/SlateInspectorToolset > API/Plugins/SlateInspectorToolset/USlateInspectorToolset
Description
Screenshot a Slate widget or the active editor window. Prefer this over SceneTools.take_screenshot for Editor UI; use SceneTools only for 3D viewport.
| Name | Screenshot |
| Type | function |
| Header File | /Engine/Plugins/Experimental/Toolsets/SlateInspectorToolset/Source/SlateInspectorToolset/Public/SlateInspectorToolset.h |
| Include Path | #include "SlateInspectorToolset.h" |
| Source | /Engine/Plugins/Experimental/Toolsets/SlateInspectorToolset/Source/SlateInspectorToolset/Private/SlateInspectorToolset.cpp |
UFUNCTION (Meta=(AICallable), Category="SlateInspectorToolset")
static FToolsetImage Screenshot
(
const FString & Ref
)
Parameters
| Name | Remarks |
|---|---|
| Ref | Slate widget ref. Empty = active window. |