Module |
|
Header |
/Engine/Source/Runtime/Slate/Public/Framework/Application/IWidgetReflector.h |
Include |
#include "Framework/Application/IWidgetReflector.h" |
int32 Visualize
(
const FWidgetPath & InWidgetsToVisualize,
FSlateWindowElementList & OutDrawElements,
int32 LayerId
)
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.
Parameter |
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. |