Navigation
API > API/Plugins > API/Plugins/EnhancedInput
UInputTriggerHold Trigger fires once input has remained actuated for HoldTimeThreshold seconds. Trigger may optionally fire once, or repeatedly fire.
| |
|
| Name |
UInputTriggerHold |
| Type |
class |
| Header File |
/Engine/Plugins/EnhancedInput/Source/EnhancedInput/Public/InputTriggers.h |
| Include Path |
#include "InputTriggers.h" |
Syntax
UCLASS (NotBlueprintable, MinimalAPI, Meta=(DisplayName="Hold"))
class UInputTriggerHold : public UInputTriggerTimedBase
Inheritance Hierarchy
Variables
Public
| Name |
Type |
Remarks |
Include Path |
Unreal Specifiers |
| bIsOneShot |
bool |
Should this trigger fire only once, or fire every frame once the hold time threshold is met? |
InputTriggers.h |
- EditAnywhere
- Config
- BlueprintReadWrite
- Category="Trigger Settings"
|
| HoldTimeThreshold |
float |
How long does the input have to be held to cause trigger? |
InputTriggers.h |
- EditAnywhere
- Config
- BlueprintReadWrite
- Category="Trigger Settings"
- Meta=(ClampMin="0")
|
Protected
Functions