Navigation
API > API/Plugins > API/Plugins/EnhancedInput
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UInputTrigger
- UInputTriggerTimedBase
- UInputTriggerHold
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;"Hold"&41;&41;
class UInputTriggerHold : public UInputTriggerTimedBase
Remarks
UInputTriggerHold Trigger fires once input has remained actuated for HoldTimeThreshold seconds. Trigger may optionally fire once, or repeatedly fire.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bIsOneShot | Should this trigger fire only once, or fire every frame once the hold time threshold is met? | |
| float | HoldTimeThreshold | How long does the input have to be held to cause trigger? |
Overridden from UInputTrigger
| Type | Name | Description | |
|---|---|---|---|
| FString | Provide debug output for use with ShowDebug EnhancedInput. Return an empty string to disable display. | ||
| ETriggerEventsSupported | Determines what kind of trigger events can happen from the behavior of this trigger. | ||
| ETriggerState | UpdateState_Implementation
(
const UEnhancedPlayerInput* PlayerInput, |
Transitions to Ongoing on actuation. Never triggers. |