Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Components/InputComponent.h |
| Include | #include "Components/InputComponent.h" |
Syntax
struct FCachedKeyToActionInfo
Remarks
Struct that exists to store runtime cache to make key to action lookups faster.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< TSharedPtr< FInputActionBinding > > | AnyKeyToActionMap | Keep the AnyKey to action map separately as we don't want to have query the map to find it every time. | |
| uint32 | KeyMapBuiltForIndex | What index of the player input's key mappings was the map built for. | |
| TMap< FKey, TArray< TSharedPtr< FInputActionBinding > > > | KeyToActionMap | Reverse lookup map to speed up evaluation of action bindings. | |
| TWeakObjectPtr< UPlayerInput > | PlayerInput | Which PlayerInput object this has been built for |
Constructors
| Type | Name | Description | |
|---|---|---|---|