Interface for widget reflectors.
更多...
#include <IWidgetReflector.h>
Interface for widget reflectors.
◆ IsInPickingMode()
| virtual bool IWidgetReflector::IsInPickingMode |
( |
| ) |
const |
|
pure virtual |
Checks whether user is in the process of selecting a widget.
- 返回
- true if the user is selecting a widget, false otherwise.
◆ IsShowingFocus()
| virtual bool IWidgetReflector::IsShowingFocus |
( |
| ) |
const |
|
pure virtual |
Checks whether we are visualizing the focused widgets.
- 返回
- true if focusing widgets, false otherwise.
◆ IsVisualizingLayoutUnderCursor()
| virtual bool IWidgetReflector::IsVisualizingLayoutUnderCursor |
( |
| ) |
const |
|
pure virtual |
Checks whether we should be inspecting widgets and visualizing their layout.
- 返回
- true if visualizing layout, false otherwise.
◆ ReflectorNeedsToDrawIn()
| virtual bool IWidgetReflector::ReflectorNeedsToDrawIn |
( |
TSharedRef< SWindow > |
ThisWindow | ) |
const |
|
pure virtual |
- 参数
-
| ThisWindow | Do we want to draw something for this window? |
- 返回
- true if we want to draw something for this window; false otherwise
◆ SetAssetAccessDelegate()
| virtual void IWidgetReflector::SetAssetAccessDelegate |
( |
FAccessAsset |
InDelegate | ) |
|
|
pure virtual |
- 参数
-
| InDelegate | A delegate to access assets with. |
◆ SetSourceAccessDelegate()
| virtual void IWidgetReflector::SetSourceAccessDelegate |
( |
FAccessSourceCode |
InDelegate | ) |
|
|
pure virtual |
- 参数
-
| InDelegate | A delegate to access source code with. |
◆ SetWidgetsToVisualize()
| virtual void IWidgetReflector::SetWidgetsToVisualize |
( |
const FWidgetPath & |
InWidgetsToVisualize | ) |
|
|
pure virtual |
Sets the widget that should be visualized.
- 参数
-
| InWidgetsToVisualize | The path to the widget to inspect via the reflector. |
◆ Visualize()
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. |
- 返回
- The maximum layer ID that we attained while painting the overlay.
该类的文档由以下文件生成: