UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FInputActionUnifiedDelegate Struct Reference

#include <InputComponent.h>

Public Member Functions

 FInputActionUnifiedDelegate ()
 
 FInputActionUnifiedDelegate (FInputActionHandlerSignature D)
 
 FInputActionUnifiedDelegate (FInputActionHandlerWithKeySignature D)
 
 FInputActionUnifiedDelegate (FInputActionHandlerDynamicSignature D)
 
bool IsBound () const
 
bool IsBoundToObject (FDelegateUserObjectConst Object) const
 
const UObjectGetUObject () const
 
const voidGetObject () const
 
template<class UserClass >
void BindDelegate (UserClass *Object, typename FInputActionHandlerSignature::template TMethodPtr< UserClass > Func)
 
template<class UserClass >
void BindDelegate (UserClass *Object, typename FInputActionHandlerWithKeySignature::template TMethodPtr< UserClass > Func)
 
template<class DelegateType , class UserClass , typename... VarTypes>
void BindDelegate (UserClass *Object, typename DelegateType::template TMethodPtr< UserClass > Func, VarTypes... Vars)
 
void BindDelegate (UObject *Object, const FName FuncName)
 
FInputActionHandlerSignatureGetDelegateForManualSet ()
 
FInputActionHandlerWithKeySignatureGetDelegateWithKeyForManualSet ()
 
void Unbind ()
 
void Execute (const FKey Key) const
 

Constructor & Destructor Documentation

◆ FInputActionUnifiedDelegate() [1/4]

FInputActionUnifiedDelegate::FInputActionUnifiedDelegate ( )
inline

◆ FInputActionUnifiedDelegate() [2/4]

FInputActionUnifiedDelegate::FInputActionUnifiedDelegate ( FInputActionHandlerSignature  D)
inline

◆ FInputActionUnifiedDelegate() [3/4]

FInputActionUnifiedDelegate::FInputActionUnifiedDelegate ( FInputActionHandlerWithKeySignature  D)
inline

◆ FInputActionUnifiedDelegate() [4/4]

FInputActionUnifiedDelegate::FInputActionUnifiedDelegate ( FInputActionHandlerDynamicSignature  D)
inline

Member Function Documentation

◆ BindDelegate() [1/4]

void FInputActionUnifiedDelegate::BindDelegate ( UObject Object,
const FName  FuncName 
)
inline

Binds a dynamic delegate and unbinds any bound native delegate

◆ BindDelegate() [2/4]

template<class DelegateType , class UserClass , typename... VarTypes>
void FInputActionUnifiedDelegate::BindDelegate ( UserClass *  Object,
typename DelegateType::template TMethodPtr< UserClass >  Func,
VarTypes...  Vars 
)
inline

◆ BindDelegate() [3/4]

template<class UserClass >
void FInputActionUnifiedDelegate::BindDelegate ( UserClass *  Object,
typename FInputActionHandlerSignature::template TMethodPtr< UserClass >  Func 
)
inline

Binds a native delegate and unbinds any bound dynamic delegate

◆ BindDelegate() [4/4]

template<class UserClass >
void FInputActionUnifiedDelegate::BindDelegate ( UserClass *  Object,
typename FInputActionHandlerWithKeySignature::template TMethodPtr< UserClass >  Func 
)
inline

◆ Execute()

void FInputActionUnifiedDelegate::Execute ( const FKey  Key) const
inline

Execute function for the action unified delegate.

◆ GetDelegateForManualSet()

FInputActionHandlerSignature & FInputActionUnifiedDelegate::GetDelegateForManualSet ( )
inline

Returns a reference to the native delegate and unbinds any bound dynamic delegate

◆ GetDelegateWithKeyForManualSet()

FInputActionHandlerWithKeySignature & FInputActionUnifiedDelegate::GetDelegateWithKeyForManualSet ( )
inline

Returns a reference to the native delegate and unbinds any bound dynamic delegate

◆ GetObject()

const void * FInputActionUnifiedDelegate::GetObject ( ) const
inline

Returns the object bound to either the native or dynamic delegate as a raw, untyped pointer. If you're looking for a bound UObject, prefer GetUObject().

◆ GetUObject()

const UObject * FInputActionUnifiedDelegate::GetUObject ( ) const
inline

Returns the UObject bound to either the native or dynamic delegate (if either is a UFunction or UObject delegate)

◆ IsBound()

bool FInputActionUnifiedDelegate::IsBound ( ) const
inline

Returns if either the native or dynamic delegate is bound

◆ IsBoundToObject()

bool FInputActionUnifiedDelegate::IsBoundToObject ( FDelegateUserObjectConst  Object) const
inline

Returns if either the native or dynamic delegate is bound to an object

◆ Unbind()

void FInputActionUnifiedDelegate::Unbind ( )
inline

Unbinds any bound delegates


The documentation for this struct was generated from the following file: