Navigation
API > API/Runtime > API/Runtime/Engine
Binds a delegate to an action.
| Name | FInputActionBinding |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/InputComponent.h |
| Include Path | #include "Components/InputComponent.h" |
Syntax
struct FInputActionBinding : public FInputBinding
Inheritance Hierarchy
- FInputBinding → FInputActionBinding
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Components/InputComponent.h | |||
FInputActionBinding
(
const FName InActionName, |
Components/InputComponent.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ActionDelegate | FInputActionUnifiedDelegate | The delegate bound to the action | Components/InputComponent.h | |
| KeyEvent | TEnumAsByte< EInputEvent > | Key event to bind it to, e.g. pressed, released, double click | Components/InputComponent.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ActionName | FName | Friendly name of action, e.g "jump" | Components/InputComponent.h | |
| bPaired | uint8 | Whether the binding is part of a paired (both pressed and released events bound) action | Components/InputComponent.h | |
| Handle | int32 | The handle for this binding action | Components/InputComponent.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void GenerateNewHandle() |
Components/InputComponent.h | ||
FName GetActionName() |
Components/InputComponent.h | ||
int32 GetHandle() |
Components/InputComponent.h | ||
bool IsPaired() |
Components/InputComponent.h | ||
bool IsValid() |
Indicates GenerateNewHandle was called | Components/InputComponent.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator==
(
const FInputActionBinding& Rhs |
Components/InputComponent.h |