![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <PlayerController.h>
Inheritance diagram for FInputModeGameAndUI:Protected Member Functions | |
| virtual ENGINE_API void | ApplyInputMode (FReply &SlateOperations, class UGameViewportClient &GameViewportClient) const override |
Protected Member Functions inherited from FInputModeDataBase | |
| virtual | ~FInputModeDataBase () |
| ENGINE_API void | SetFocusAndLocking (FReply &SlateOperations, TSharedPtr< class SWidget > InWidgetToFocus, bool bLockMouseToViewport, TSharedRef< class SViewport > InViewportWidget) const |
Protected Attributes | |
| TSharedPtr< SWidget > | WidgetToFocus |
| EMouseLockMode | MouseLockMode |
| bool | bHideCursorDuringCapture |
Data structure used to setup an input mode that allows the UI to respond to user input, and if the UI doesn't handle it player input / player controller gets a chance.
| ENGINE_API FInputModeGameAndUI::FInputModeGameAndUI | ( | ) |
|
virtual |
|
overrideprotectedvirtual |
Derived classes override this function to apply the necessary settings for the desired input mode
Implements FInputModeDataBase.
|
inline |
Whether to hide the cursor during temporary mouse capture caused by a mouse down
|
inline |
Sets the mouse locking behavior of the viewport
|
inline |
Widget to focus
Reimplemented from FInputModeDataBase.
|
protected |
|
protected |
|
protected |