Deprecated
Locking the mouse to the viewport is now controlled by an enum. Call SetInputMode_UIOnlyEx instead
Module |
|
Header |
/Engine/Source/Runtime/UMG/Public/Blueprint/WidgetBlueprintLibrary.h |
Include |
#include "Blueprint/WidgetBlueprintLibrary.h" |
Source |
/Engine/Source/Runtime/UMG/Private/WidgetBlueprintLibrary.cpp |
static void SetInputMode_UIOnly
(
APlayerController * Target,
UWidget * InWidgetToFocus,
bool bLockMouseToViewport
)
Setup an input mode that allows only the UI to respond to user input.