UInputTriggerPressed

[UInputTriggerPressed](API\Plugins\EnhancedInput\UInputTriggerPressed) Trigger fires once only when input exceeds the actuation threshold.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

EnhancedInput

Header

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

Include

#include "InputTriggers.h"

Syntax

UCLASS(NotBlueprintable, MinimalAPI, Meta=(DisplayName="Pressed"))
class UInputTriggerPressed : public UInputTrigger

Remarks

UInputTriggerPressed Trigger fires once only when input exceeds the actuation threshold. Holding the input will not cause further triggers.

Overridden from UInputTrigger

Name Description

Protected function Virtual Const

FString

 

GetDebugState()

Provide debug output for use with ShowDebug EnhancedInput. Return an empty string to disable display.

Public function Virtual Const

ETriggerEven...

 

GetSupportedTriggerEvents()

Determines what kind of trigger events can happen from the behavior of this trigger.

Protected function Virtual

ETriggerStat...

 

UpdateState_Implementation

(
    const UEnhancedPlayerInput* Pl...,
    FInputActionValue ModifiedValue,
    float DeltaTime
)

Triggers on actuation.