Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Framework > API/Runtime/Slate/Framework/Application > API/Runtime/Slate/Framework/Application/IWidgetReflector
References
| Module | Slate |
| Header | /Engine/Source/Runtime/Slate/Public/Framework/Application/IWidgetReflector.h |
| Include | #include "Framework/Application/IWidgetReflector.h" |
int32 Visualize
&40;
const FWidgetPath & InWidgetsToVisualize,
FSlateWindowElementList & OutDrawElements,
int32 LayerId
&41;
Remarks
Take a snapshot of the UI pertaining to the widget that the user is hovering and visualize it. If we are not taking a snapshot, draw the overlay from a previous snapshot, if possible. The maximum layer ID that we attained while painting the overlay.
Parameters
| Name | Description |
|---|---|
| InWidgetsToVisualize | WidgetPath that the cursor is currently over; could be null. |
| OutDrawElements | List of draw elements to which we will add a visualization overlay |
| LayerId | The maximum layer id attained in the draw element list so far. |