FCachedKeyToActionInfo

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()

References

Module

Engine

Header

Runtime/Engine/Classes/Components/InputComponent.h