![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <InputComponent.h>
Public Member Functions | |
| FCachedKeyToActionInfo () | |
Public Attributes | |
| TWeakObjectPtr< UPlayerInput > | PlayerInput |
| uint32 | KeyMapBuiltForIndex |
| TMap< FKey, TArray< TSharedPtr< FInputActionBinding > > > | KeyToActionMap |
| TArray< TSharedPtr< FInputActionBinding > > | AnyKeyToActionMap |
Struct that exists to store runtime cache to make key to action lookups faster.
|
inline |
| TArray<TSharedPtr<FInputActionBinding> > FCachedKeyToActionInfo::AnyKeyToActionMap |
Keep the AnyKey to action map separately as we don't want to have query the map to find it every time.
| uint32 FCachedKeyToActionInfo::KeyMapBuiltForIndex |
What index of the player input's key mappings was the map built for.
| TMap<FKey, TArray<TSharedPtr<FInputActionBinding> > > FCachedKeyToActionInfo::KeyToActionMap |
Reverse lookup map to speed up evaluation of action bindings. Will be rebuilt via ConditionalBuildKeyMap when action bindings or key mappings are changed.
| TWeakObjectPtr<UPlayerInput> FCachedKeyToActionInfo::PlayerInput |
Which PlayerInput object this has been built for