ICommonActionHandlerInterface

Windows
MacOS
Linux

References

Module

CommonUI

Header

/Engine/Plugins/Experimental/CommonUI/Source/CommonUI/Public/CommonActionHandlerInterface.h

Include

#include "CommonActionHandlerInterface.h"

Syntax

class ICommonActionHandlerInterface

Functions

Name Description

Public function

bool

 

HandleHoldInput

(
    int32 ControllerId,
    FKey KeyPressed,
    EInputEvent EventType,
    bool& bPassThrough
)

The common input manager calls this for any object implementing this interface

Public function

bool

 

HandlePressInput

(
    FKey KeyPressed,
    EInputEvent EventType,
    bool& bPassThrough
)

Public function

bool

 

HandleTouchInput

(
    uint32 TouchId,
    ETouchType::Type TouchType,
    const FVector2D& TouchLocation,
    bool& bPassThrough
)

Public function

void

 

TriggerFirstMatchingInputAction

(
    int32 ControllerId,
    const FCommonInputActionDataBase& ...,
    bool bHoldAction
)

This will trigger the first input action based on input action data and the hold action flag

Public function

void

 

UpdateCurrentlyHeldAction

(
    float InDeltaTime
)

When an action progress happens for a held key, this will be called

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