TEnhancedInputUnifiedDelegate

Unified storage for both native and dynamic delegates with any signature

Windows
MacOS
Linux

References

Module

EnhancedInput

Header

/Engine/Plugins/Experimental/EnhancedInput/Source/EnhancedInput/Public/EnhancedInputComponent.h

Include

#include "EnhancedInputComponent.h"

Syntax

template<typename TSignature>
struct TEnhancedInputUnifiedDelegate

Remarks

Unified storage for both native and dynamic delegates with any signature

Functions

Name Description

Public function

void

 

BindDelegate

(
    UserClass* Object,
    typename TSig::template TUObjectMet...
)

Binds a native delegate, hidden for script delegates

Public function

void

 

BindDelegate

(
    UObject* Object,
    const FName FuncName
)

Binds a script delegate on an arbitrary UObject, hidden for native delegates

Public function Const

void

 

Execute

(
    TArgs... Args
)

Public function Const

bool

 

IsBound()

Public function Const

bool

 

IsBoundToObject

(
    void const* Object
)

Public function

TSig &

 

MakeDelegate()

Public function

void

 

Unbind()

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss