Navigation
API > API/Plugins > API/Plugins/EnhancedInput
References
Module | EnhancedInput |
Header | /Engine/Plugins/EnhancedInput/Source/EnhancedInput/Public/InputAction.h |
Include | #include "InputAction.h" |
Syntax
struct FInputActionInstance
Remarks
Run time queryable action instance Generated from UInputAction templates above
Variables
Type | 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. |
![]() ![]() ![]() ![]() ![]() |
TArray< TObjectPtr< UInputModifier > > | Modifiers | |
![]() ![]() ![]() ![]() |
ETriggerEvent | TriggerEvent | Trigger state. |
![]() |
TArray< TObjectPtr< UInputTrigger > > | Triggers | |
![]() ![]() ![]() ![]() ![]() |
FInputActionValue | Value | Combined value of all inputs mapped to this action. |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
|||
![]() |
FInputActionInstance
(
const UInputAction* InSourceAction |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
float | Total time the action has been evaluating triggering (Ongoing & Triggered) | |
![]() ![]() |
float | Time that this action was last actively triggered. | |
![]() ![]() |
const TArray< UInputModifier * > & | GetModifiers () |
|
![]() ![]() |
const UInputAction * | The source action that this instance is created from. | |
![]() ![]() |
float | Time the action has been actively triggered (Triggered only) | |
![]() ![]() |
ETriggerEvent | Current trigger event. | |
![]() ![]() |
const TArray< UInputTrigger * > & | GetTriggers () |
|
![]() ![]() |
FInputActionValue | GetValue () |
Current action value - Will be zero if the current trigger event is not ETriggerEvent::Triggered! |