FCachedKeyToActionInfo

Struct that exists to store runtime cache to make key to action lookups faster.

Windows
MacOS
Linux

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

Name Description

Public variable

TArray< TShared...

 

AnyKeyToActionMap

Keep the AnyKey to action map separately as we don't want to have query the map to find it every time.

Public variable

uint32

 

KeyMapBuiltForIndex

What index of the player input's key mappings was the map built for.

Public variable

TMap< FKey, TAr...

 

KeyToActionMap

Reverse lookup map to speed up evaluation of action bindings.

Public variable

UPlayerInput &#...

 

PlayerInput

Which PlayerInput object this has been built for

Constructors

Name Description

Public function

FCachedKeyToActionInfo()

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss