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