Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework
Inheritance Hierarchy
- FInputModeDataBase
- FInputModeGameOnly
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerController.h |
| Include | #include "GameFramework/PlayerController.h" |
Syntax
struct FInputModeGameOnly : public FInputModeDataBase
Remarks
Data structure used to setup an input mode that allows only the player input / player controller to respond to user input.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bConsumeCaptureMouseDown |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| FInputModeGameOnly & | SetConsumeCaptureMouseDown
(
bool InConsumeCaptureMouseDown |
Whether the mouse down that causes capture should be consumed, and not passed to player input processing |
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. |