FCachedKeyToActionInfo

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

Windows
MacOS
Linux

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

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback