Module |
|
Header |
/Engine/Plugins/Experimental/EnhancedInput/Source/EnhancedInput/Public/InputTriggers.h |
Include |
#include "InputTriggers.h" |
[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(Abstract, MinimalAPI, Config=Input)
class UInputTriggerTimedBase : public UInputTrigger
Base class for building triggers that have firing conditions governed by elapsed time. This class transitions state to Ongoing once input is actuated, and will track Ongoing input time until input is released. Inheriting classes should provide the logic for Triggered transitions.
Name | Description | ||
---|---|---|---|
|
bAffectedByTimeDilation |
Should global time dilation be applied to the held duration? |
|
|
float |
HeldDuration |
Name | Description | ||
---|---|---|---|
|
float |
CalculateHeldDuration ( |
Calculates the new held duration given the current player input and delta time. |
Name | Description | ||
---|---|---|---|
|
GetDebugState() |
Provide debug output for use with ShowDebug EnhancedInput. Return an empty string to disable display. |
|
|
ETriggerStat... |
UpdateState_Implementation ( |
Transitions to Ongoing on actuation. Never triggers. |