Navigation
Unreal Engine C++ API Reference > Plugins > EnhancedInput
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UInputTrigger
- UInputTriggerTimedBase
- UInputTriggerPulse
References
Module | EnhancedInput |
Header | /Engine/Plugins/EnhancedInput/Source/EnhancedInput/Public/InputTriggers.h |
Include | #include "InputTriggers.h" |
Syntax
UCLASS&40;NotBlueprintable, MinimalAPI, Meta&61;&40;DisplayName&61;"Pulse"&41;&41;
class UInputTriggerPulse : public UInputTriggerTimedBase
Remarks
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.
Variables
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() ![]() ![]() |
bool | bTriggerOnStart | Whether to trigger when the input first exceeds the actuation threshold or wait for the first interval? |
![]() ![]() ![]() ![]() ![]() |
float | Interval | How long between each trigger fire while input is held, in seconds? |
![]() ![]() ![]() ![]() ![]() |
int32 | TriggerLimit | How many times can the trigger fire while input is held? (0 = no limit) |
Overridden from UInputTrigger
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
FString | Provide debug output for use with ShowDebug EnhancedInput. Return an empty string to disable display. | |
![]() ![]() |
ETriggerState | UpdateState_Implementation
(
const UEnhancedPlayerInput* PlayerInput, |
Transitions to Ongoing on actuation. Never triggers. |