Navigation
API > API/Plugins > API/Plugins/EnhancedInput
Fires the "Triggered" event upon a repeated taps of a key.
Note: You can use this trigger to easily make a "Double Tap" effect.
| Name | UInputTriggerRepeatedTap |
| Type | class |
| Header File | /Engine/Plugins/EnhancedInput/Source/EnhancedInput/Public/InputTriggers.h |
| Include Path | #include "InputTriggers.h" |
Syntax
UCLASS (NotBlueprintable, MinimalAPI, Meta=(DisplayName="Repeated Tap"))
class UInputTriggerRepeatedTap : public UInputTriggerTimedBase
Inheritance Hierarchy
- UInputTrigger → UInputTriggerTimedBase → UInputTriggerRepeatedTap
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UInputTriggerRepeatedTap() |
InputTriggers.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| NumberOfTapsWhichTriggerRepeat | int32 | The number of taps in a row it takes for this to be considered triggered. | InputTriggers.h |
|
| RepeatDelay | double | The max amount of time which can pass in between single taps that can pass and still be considered a repeat tap. | InputTriggers.h |
|
| TapReleaseTimeThreshold | float | Release within this time-frame to trigger a tap. | InputTriggers.h |
|
Functions
Public
Protected Virtual
Overridden from UInputTriggerTimedBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FString GetDebugState() |
InputTriggers.h | ||
virtual ETriggerState UpdateState_Implementation
(
const UEnhancedPlayerInput* PlayerInput, |
Transitions to Ongoing on actuation. Never triggers. | InputTriggers.h |