Navigation
API > API/Plugins > API/Plugins/EnhancedInput
UInputTriggerPulse Trigger that fires at an Interval, in seconds, while input is actuated. Note: Completed only fires when the repeat limit is reached or when input is released immediately after being triggered. Otherwise, Canceled is fired when input is released.
| Name | UInputTriggerPulse |
| Type | class |
| Header File | /Engine/Plugins/EnhancedInput/Source/EnhancedInput/Public/InputTriggers.h |
| Include Path | #include "InputTriggers.h" |
Syntax
UCLASS (NotBlueprintable, MinimalAPI, Meta=(DisplayName="Pulse"))
class UInputTriggerPulse : public UInputTriggerTimedBase
Inheritance Hierarchy
- UInputTrigger → UInputTriggerTimedBase → UInputTriggerPulse
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bTriggerOnStart | bool | Whether to trigger when the input first exceeds the actuation threshold or wait for the first interval? | InputTriggers.h |
|
| Interval | float | How long between each trigger fire while input is held, in seconds? | InputTriggers.h |
|
| TriggerLimit | int32 | How many times can the trigger fire while input is held? (0 = no limit) | InputTriggers.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| TriggerCount | int32 | InputTriggers.h |
Functions
Public
Overridden from UInputTriggerTimedBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FString GetDebugState() |
InputTriggers.h |
Protected
Overridden from UInputTriggerTimedBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ETriggerState UpdateState_Implementation
(
const UEnhancedPlayerInput* PlayerInput, |
Transitions to Ongoing on actuation. Never triggers. | InputTriggers.h |