FInputActionInstance

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

Windows
MacOS
Linux

References

Module

EnhancedInput

Header

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

Include

#include "InputAction.h"

Syntax

[USTRUCT](Programming/UnrealArchitecture/Reference/Structs)([BlueprintType](Programming/UnrealArchitecture/Reference/Structs/Specifiers/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 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

const TArray...

 

GetModifiers()

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()

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss