Module |
|
Header |
/Engine/Source/Runtime/Slate/Public/Framework/Application/SlateApplication.h |
Include |
#include "Framework/Application/SlateApplication.h" |
Source |
/Engine/Source/Runtime/Slate/Private/Framework/Application/SlateApplication.cpp |
bool SetUserFocus
(
uint32 UserIndex,
const TSharedPtr< SWidget > & WidgetToFocus,
EFocusCause ReasonFocusIsChanging
)
Sets specified user focus to the SWidget passed in.
Parameter |
Description |
---|---|
UserIndex |
Index of the user to change focus for |
WidgetToFocus |
the widget to set focus to |
ReasonFocusIsChanging |
the contextual reason for the focus change |