FInputKeyBinding

Binds a delegate to a key chord.

Windows
MacOS
Linux

Inheritance Hierarchy

FInputBinding

FInputKeyBinding

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/InputComponent.h

Include

#include "Components/InputComponent.h"

Syntax

struct FInputKeyBinding : public FInputBinding

Remarks

Binds a delegate to a key chord.

Variables

Name Description

Public variable

FInputChord

 

Chord

Input Chord to bind to

Public variable

FInputActionUnifiedDelegate

 

KeyDelegate

The delegate bound to the key chord

Public variable

TEnumAsByte< EInputEvent >

 

KeyEvent

Key event to bind it to (e.g. pressed, released, double click)

Constructors

Name Description

Public function

FInputKeyBinding()

Public function

FInputKeyBinding

(
    const FInputChord InChord,
    const EInputEvent InKeyEvent
)

Select Skin
Light
Dark

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