Navigation
API > API/Runtime > API/Runtime/Slate
Interface for widget reflectors.
| Name | IWidgetReflector |
| Type | class |
| Header File | /Engine/Source/Runtime/Slate/Public/Framework/Application/IWidgetReflector.h |
| Include Path | #include "Framework/Application/IWidgetReflector.h" |
Syntax
class IWidgetReflector
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IWidgetReflector() |
Virtual destructor. | Framework/Application/IWidgetReflector.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool IsInPickingMode() |
Checks whether user is in the process of selecting a widget. | Framework/Application/IWidgetReflector.h | |
bool IsShowingFocus() |
Checks whether we are visualizing the focused widgets. | Framework/Application/IWidgetReflector.h | |
bool IsVisualizingLayoutUnderCursor() |
Checks whether we should be inspecting widgets and visualizing their layout. | Framework/Application/IWidgetReflector.h | |
virtual void OnEventProcessed
(
const FInputEvent& Event, |
Framework/Application/IWidgetReflector.h | ||
void OnWidgetPicked() |
Called when the user has picked a widget to observe. | Framework/Application/IWidgetReflector.h | |
bool ReflectorNeedsToDrawIn
(
TSharedRef< SWindow > ThisWindow |
Framework/Application/IWidgetReflector.h | ||
void SetAssetAccessDelegate
(
FAccessAsset InDelegate |
Framework/Application/IWidgetReflector.h | ||
void SetSourceAccessDelegate
(
FAccessSourceCode InDelegate |
Framework/Application/IWidgetReflector.h | ||
void SetWidgetsToVisualize
(
const FWidgetPath& InWidgetsToVisualize |
Sets the widget that should be visualized. | Framework/Application/IWidgetReflector.h | |
int32 Visualize
(
const FWidgetPath& InWidgetsToVisualize, |
Take a snapshot of the UI pertaining to the widget that the user is hovering and visualize it. | Framework/Application/IWidgetReflector.h | |
virtual int32 VisualizeCursorAndKeys
(
FSlateWindowElementList& OutDrawElements, |
Visualize the cursor position and any pressed keys for demo-recording purposes. | Framework/Application/IWidgetReflector.h |