Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Plugins/Experimental/EnhancedInput/Source/EnhancedInput/Public/InputAction.h |
Include |
#include "InputAction.h" |
USTRUCT(BlueprintType)
struct FInputActionInstance
Run time queryable action instance Generated from UInputAction templates above
Name | Description | ||
---|---|---|---|
|
float |
ElapsedProcessedTime |
Total trigger processing/evaluation time (How long this action has been in event Started, Ongoing, or Triggered. |
|
float |
ElapsedTriggeredTime |
Triggered time (How long this action has been in event Triggered only) |
|
float |
LastTriggeredWorldTime |
The last time that this evaluated to a Triggered State. |
|
Modifiers |
||
|
TriggerEvent |
Trigger state. |
|
|
Triggers |
TODO: Just hold a duplicate of the UInputAction in here? TODO: Restrict blueprint access to triggers and modifiers? |
|
|
Value |
Combined value of all inputs mapped to this action. |
Name | Description | |
---|---|---|
|
FInputActionInstance() |
|
|
FInputActionInstance ( |
Name | Description | ||
---|---|---|---|
|
float |
GetElapsedTime() |
Total time the action has been evaluating triggering (Ongoing & Triggered) |
|
float |
GetLastTriggeredWorldTime() |
Time that this action was last actively triggered. |
|
const TArray... |
GetModifiers() |
|
|
const UInput... |
GetSourceAction() |
The source action that this instance is created from. |
|
float |
GetTriggeredTime() |
Time the action has been actively triggered (Triggered only) |
|
ETriggerEven... |
GetTriggerEvent() |
Current trigger event. |
|
const TArray... |
GetTriggers() |
|
|
FInputAction... |
GetValue() |
Current action value - Will be zero if the current trigger event is not ETriggerEvent::Triggered! |
Name | Description | ||
---|---|---|---|
|
FinalValueModifiers_DEPRECATED |
||
|
PerInputModifiers_DEPRECATED |
Name | Description | ||
---|---|---|---|
|
const TArray... |
GetModifiers ( |
GetModifiers(EModifierExecutionPhase) is deprecated. Use GetModifiers() |