FInputActionUnifiedDelegate

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/InputComponent.h

Include

#include "Components/InputComponent.h"

Syntax

struct FInputActionUnifiedDelegate

Constructors

Functions

Name Description

Public function

void

 

BindDelegate

(
    UserClass* Object,
    typename FInputActionHandlerSignatu...
)

Binds a native delegate and unbinds any bound dynamic delegate

Public function

void

 

BindDelegate

(
    UserClass* Object,
    typename FInputActionHandlerWithKey...
)

Public function

void

 

BindDelegate

(
    UObject* Object,
    const FName FuncName
)

Binds a dynamic delegate and unbinds any bound native delegate

Public function

void

 

BindDelegate

(
    UserClass* Object,
    typename DelegateType::template TUO...,
    VarTypes... Vars
)

Public function Const

void

 

Execute

(
    const FKey Key
)

Execute function for the action unified delegate.

Public function

FInputAction...

 

GetDelegateForManualSet()

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

Public function

FInputAction...

 

GetDelegateWithKeyForManualSet()

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

Public function Const

const void &...

 

GetObject()

Returns the object bound to either the native or dynamic delegate as a raw, untyped pointer.

Public function Const

const UObjec...

 

GetUObject()

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

Public function Const

bool

 

IsBound()

Returns if either the native or dynamic delegate is bound

Public function Const

bool

 

IsBoundToObject

(
    void const* Object
)

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

Public function

void

 

Unbind()

Unbinds any bound delegates

Enums

Name

Description

Private enum

EBoundDelegate

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