FInputActionInstance

Run time queryable action instance Generated from [UInputAction](API\Plugins\EnhancedInput\UInputAction) templates above

Choose your operating system:

Windows

macOS

Linux

References

Module

EnhancedInput

Header

/Engine/Plugins/Experimental/EnhancedInput/Source/EnhancedInput/Public/InputAction.h

Include

#include "InputAction.h"

Syntax

USTRUCT(BlueprintType)
struct FInputActionInstance

Remarks

Run time queryable action instance Generated from UInputAction templates above

Variables

Name Description

Protected variable UProperty Category BlueprintReadOnly

float

 

ElapsedProcessedTime

Total trigger processing/evaluation time (How long this action has been in event Started, Ongoing, or Triggered.

Protected variable UProperty Category BlueprintReadOnly

float

 

ElapsedTriggeredTime

Triggered time (How long this action has been in event Triggered only)

Protected variable UProperty Category BlueprintReadOnly

float

 

LastTriggeredWorldTime

The last time that this evaluated to a Triggered State.

Protected variable UProperty Category BlueprintReadOnly instanced

TArray< UInputM...

 

Modifiers

Protected variable UProperty Category BlueprintReadOnly

ETriggerEvent

 

TriggerEvent

Trigger state.

Protected variable UProperty Category BlueprintReadOnly instanced

TArray< UInputT...

 

Triggers

TODO: Just hold a duplicate of the UInputAction in here? TODO: Restrict blueprint access to triggers and modifiers?

Protected variable

FInputActionVal...

 

Value

Combined value of all inputs mapped to this action.

Constructors

Name Description

Public function

FInputActionInstance()

Public function

FInputActionInstance

(
    const UInputAction* InSourceAc...
)

Functions

Name Description

Public function Const

float

 

GetElapsedTime()

Total time the action has been evaluating triggering (Ongoing & Triggered)

Public function Const

float

 

GetLastTriggeredWorldTime()

Time that this action was last actively triggered.

Public function Const

const TArray...

 

GetModifiers()

Public function Const

const UInput...

 

GetSourceAction()

The source action that this instance is created from.

Public function Const

float

 

GetTriggeredTime()

Time the action has been actively triggered (Triggered only)

Public function Const

ETriggerEven...

 

GetTriggerEvent()

Current trigger event.

Public function Const

const TArray...

 

GetTriggers()

Public function Const

FInputAction...

 

GetValue()

Current action value - Will be zero if the current trigger event is not ETriggerEvent::Triggered!

Deprecated Variables

Deprecated Functions

Name Description

Public function Const

const TArray...

 

GetModifiers

(
    EModifierExecutionPhase ForPhase
)

GetModifiers(EModifierExecutionPhase) is deprecated. Use GetModifiers()