![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <IWidgetReflector.h>
Public Member Functions | |
| virtual void | OnEventProcessed (const FInputEvent &Event, const FReplyBase &InReply) |
| virtual void | OnWidgetPicked ()=0 |
| virtual bool | IsShowingFocus () const =0 |
| virtual bool | IsInPickingMode () const =0 |
| virtual bool | IsVisualizingLayoutUnderCursor () const =0 |
| virtual int32 | Visualize (const FWidgetPath &InWidgetsToVisualize, FSlateWindowElementList &OutDrawElements, int32 LayerId)=0 |
| virtual int32 | VisualizeCursorAndKeys (FSlateWindowElementList &OutDrawElements, int32 LayerId) const |
| virtual void | SetWidgetsToVisualize (const FWidgetPath &InWidgetsToVisualize)=0 |
| virtual void | SetSourceAccessDelegate (FAccessSourceCode InDelegate)=0 |
| virtual void | SetAssetAccessDelegate (FAccessAsset InDelegate)=0 |
| virtual bool | ReflectorNeedsToDrawIn (TSharedRef< SWindow > ThisWindow) const =0 |
| virtual | ~IWidgetReflector () |
Interface for widget reflectors.
|
inlinevirtual |
Virtual destructor.
Checks whether user is in the process of selecting a widget.
Checks whether we are visualizing the focused widgets.
Checks whether we should be inspecting widgets and visualizing their layout.
|
inlinevirtual |
Called when the user has picked a widget to observe.
|
pure virtual |
| ThisWindow | Do we want to draw something for this window? |
|
pure virtual |
| InDelegate | A delegate to access assets with. |
|
pure virtual |
| InDelegate | A delegate to access source code with. |
|
pure virtual |
Sets the widget that should be visualized.
| InWidgetsToVisualize | The path to the widget to inspect via the reflector. |
|
pure virtual |
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.
| 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. |
|
inlinevirtual |
Visualize the cursor position and any pressed keys for demo-recording purposes.