IWidgetReflector::Visualize

Take a snapshot of the UI pertaining to the widget that the user is hovering and visualize it.

Windows
MacOS
Linux

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Framework/Application/IWidgetReflector.h

Include

#include "Framework/Application/IWidgetReflector.h"

Syntax

int32 Visualize
(
    const FWidgetPath & InWidgetsToVisualize,
    FSlateWindowElementList & OutDrawElements,
    int32 LayerId
)

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.

Returns

The maximum layer ID that we attained while painting the overlay.

Parameters

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss