Navigation
API > API/Plugins > API/Plugins/EnhancedInput
Inheritance Hierarchy
- UInputTrigger
- UInputTriggerTimedBase
- UInputTriggerHold
References
| Module | EnhancedInput |
| Header | /Engine/Plugins/EnhancedInput/Source/EnhancedInput/Public/InputTriggers.h |
| Include | #include "InputTriggers.h" |
Syntax
UCLASS (NotBlueprintable, MinimalAPI, Meta=(DisplayName="Hold"))
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 UInputTriggerTimedBase
| Type | Name | Description | |
|---|---|---|---|
| FString | |||
| ETriggerEventsSupported | |||
| ETriggerState | UpdateState_Implementation
(
const UEnhancedPlayerInput* PlayerInput, |
Transitions to Ongoing on actuation. Never triggers. |