IWidgetReflector

Interface for widget reflectors.

Windows
MacOS
Linux

References

Module

Slate

Header

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

Include

#include "Framework/Application/IWidgetReflector.h"

Syntax

class IWidgetReflector

Remarks

Interface for widget reflectors.

Destructors

Name Description

Public function Virtual

~IWidgetReflector()

Virtual destructor.

Functions

Name Description

Public function Const

bool

 

IsInPickingMode()

Checks whether user is in the process of selecting a widget.

Public function Const

bool

 

IsShowingFocus()

Checks whether we are visualizing the focused widgets.

Public function Const

bool

 

IsVisualizingLayoutUnderCursor()

Checks whether we should be inspecting widgets and visualizing their layout.

Public function

void

 

OnEventProcessed

(
    const FInputEvent& Event,
    const FReplyBase& InReply
)

Public function

void

 

OnWidgetPicked()

Called when the user has picked a widget to observe.

Public function Const

bool

 

ReflectorNeedsToDrawIn

(
    TSharedRef< SWindow > ThisWindow
)

Public function

void

 

SetAssetAccessDelegate

(
    FAccessAsset InDelegate
)

Public function

void

 

SetSourceAccessDelegate

(
    FAccessSourceCode InDelegate
)

Public function

void

 

SetWidgetsToVisualize

(
    const FWidgetPath& InWidgetsToVisu...
)

Sets the widget that should be visualized.

Public function

int32

 

Visualize

(
    const FWidgetPath& InWidgetsToVisu...,
    FSlateWindowElementList& OutDrawEl...,
    int32 LayerId
)

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

Public function Const

int32

 

VisualizeCursorAndKeys

(
    FSlateWindowElementList& OutDrawEl...,
    int32 LayerId
)

Visualize the cursor position and any pressed keys for demo-recording purposes.

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