Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Plugins/Experimental/EnhancedInput/Source/EnhancedInput/Public/InputTriggers.h |
Include |
#include "InputTriggers.h" |
UCLASS(Abstract, Blueprintable, EditInlineNew, CollapseCategories, Config=Input, defaultconfig,
ConfigDoNotCheckDefaults)
class UInputTrigger : public UObject
Base class for building triggers. Transitions to Triggered state once the input meets or exceeds the actuation threshold.
Name | Description | ||
---|---|---|---|
|
float |
ActuationThreshold |
Point at which this trigger fires. |
|
LastValue |
Value passed to UpdateState on the previous tick. This will be updated automatically after the trigger is updated. |
Name | Description | ||
---|---|---|---|
|
GetDebugState() |
Provide debug output for use with ShowDebug EnhancedInput. Return an empty string to disable display. |
|
|
ETriggerEven... |
GetSupportedTriggerEvents() |
Determines what kind of trigger events can happen from the behavior of this trigger. |
|
GetTriggerType() |
Changes the way this trigger affects an action with multiple triggers: All implicit triggers must be triggering to trigger the action. |
|
|
GetTriggerType_Implementation() |
Default implementations of overridable functionality. |
|
|
IsActuated ( |
Is the value passed in sufficiently large to be of interest to the trigger. |
|
|
IsSupportedTriggerEvent ( |
Returns true if the the ETriggerEvent is can be triggered based off of the ETriggerEventsSupported. |
|
|
ETriggerStat... |
UpdateState ( |
This function checks if the requisite conditions have been met for the trigger to fire. |
|
ETriggerStat... |
UpdateState_Implementation ( |
Triggers on actuation. |