Navigation
API > API/Plugins > API/Plugins/EnhancedInput
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UPlatformSettings
- UEnhancedInputPlatformSettings
References
| Module | EnhancedInput |
| Header | /Engine/Plugins/EnhancedInput/Source/EnhancedInput/Public/EnhancedInputPlatformSettings.h |
| Include | #include "EnhancedInputPlatformSettings.h" |
Syntax
UCLASS&40;Config&61;Input, defaultconfig&41;
class UEnhancedInputPlatformSettings : public UPlatformSettings
Remarks
Settings for Enhanced Input that can be set per-platform
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bShouldLogMappingContextRedirects | If true, then Enhanced Input will log which mapping contexts have been redirected when building the control mappings. | |
| TArray< TSoftClassPtr< UEnhancedInputPlatformData > > | InputData | Input data that can be populated with Enhanced Input Platform Data blueprints | |
| TArray< TSubclassOf< UEnhancedInputPlatformData > > | InputDataClasses | A transient array of the subclasses for the Enhanced Input Platform data. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | ForEachInputData
(
TFunctionRef< void(const UEnhancedInputPlatformData&)> Predicate |
Iterates each valid UEnhancedInputPlatformData that is on this platform. | |
| UEnhancedInputPlatformSettings * | Get () |
||
| void | GetAllMappingContextRedirects
(
TMap< TObjectPtr< const UInputMappingContext >, TObjectPtr< const UInputMappingContext >>& OutRedir... |
Populates the given map with all mapping context redirects in the current platform's InputData. | |
| const TArray< TSoftClassPtr< UEnhancedInputPlatformData > > & | GetInputData () |
Get the current Enhanced Input platform data | |
| void | Load the input data subclasses and cache them for later use in the InputDataClasses array. | ||
| bool | Returns true if this platform has specified that it should log what mapping context redirects occur |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally | |
| void | PostLoad () |
Do any object-specific cleanup required immediately after loading an object. |