Navigation
API > API/Runtime > API/Runtime/Engine
Utility delegate class to allow binding to either a C++ function or a blueprint script delegate
| Name | TInputUnifiedDelegate |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/InputComponent.h |
| Include Path | #include "Components/InputComponent.h" |
Syntax
template<class DelegateType, class DynamicDelegateType>
struct TInputUnifiedDelegate
Derived Classes
- FInputAxisUnifiedDelegate
- FInputGestureUnifiedDelegate
- FInputTouchUnifiedDelegate
- FInputVectorAxisUnifiedDelegate
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Components/InputComponent.h | |||
TInputUnifiedDelegate
(
DelegateType D |
Components/InputComponent.h | ||
TInputUnifiedDelegate
(
DynamicDelegateType D |
Components/InputComponent.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| UnboundDelegate | const DelegateType | Components/InputComponent.h | |
| UnboundDynamicDelegate | const DynamicDelegateType | Components/InputComponent.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void BindDelegate
(
UserClass* Object, |
Binds a native delegate and unbinds any bound dynamic delegate | Components/InputComponent.h | |
void BindDelegate
(
UObject* Object, |
Binds a dynamic delegate and unbinds any bound native delegate | Components/InputComponent.h | |
const DelegateType & GetDelegate() |
Returns a const reference to the Function Delegate. | Components/InputComponent.h | |
DelegateType & GetDelegateForManualSet() |
Returns a reference to the native delegate and unbinds any bound dynamic delegate | Components/InputComponent.h | |
const DynamicDelegateType & GetDynamicDelegate() |
Returns a const reference to the Dynamic Function Delegate. | Components/InputComponent.h | |
bool IsBound() |
Returns if either the native or dynamic delegate is bound | Components/InputComponent.h | |
bool IsBoundToObject
(
void const* Object |
Returns if either the native or dynamic delegate is bound to an object | Components/InputComponent.h | |
void Unbind() |
Unbinds any bound delegates | Components/InputComponent.h |