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