Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework
Inheritance Hierarchy
- FInputModeDataBase
- FInputModeUIOnly
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerController.h |
| Include | #include "GameFramework/PlayerController.h" |
Syntax
struct FInputModeUIOnly : public FInputModeDataBase
Remarks
Data structure used to setup an input mode that allows only the UI to respond to user input.
Variables
| Type | Name | Description | |
|---|---|---|---|
| EMouseLockMode | MouseLockMode | ||
| TSharedPtr< SWidget > | WidgetToFocus |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| FInputModeUIOnly & | SetLockMouseToViewportBehavior
(
EMouseLockMode InMouseLockMode |
Sets the mouse locking behavior of the viewport | |
| FInputModeUIOnly & | SetWidgetToFocus
(
TSharedPtr< SWidget > InWidgetToFocus |
Widget to focus |
Overridden from FInputModeDataBase
| Type | Name | Description | |
|---|---|---|---|
| void | ApplyInputMode
(
FReply& SlateOperations, |
Derived classes override this function to apply the necessary settings for the desired input mode | |
| const FString & | Returns the name of this input mode for debug display when you call the "showdebug input" command. |