Navigation
API > API/Plugins > API/Plugins/EnhancedInput
Run time queryable action instance Generated from UInputAction templates above
| Name | FInputActionInstance |
| Type | struct |
| Header File | /Engine/Plugins/EnhancedInput/Source/EnhancedInput/Public/InputAction.h |
| Include Path | #include "InputAction.h" |
Syntax
USTRUCT (BlueprintType )
struct FInputActionInstance
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| InputAction.h | |||
FInputActionInstance
(
const UInputAction* InSourceAction |
InputAction.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| LastTriggerState | ETriggerState | Internal trigger states. | InputAction.h | |
| SourceAction | TObjectPtr< const UInputAction > | The source action that this instance is created from. | InputAction.h |
|
| TriggerEventInternal | ETriggerEventInternal | InputAction.h | ||
| TriggerStateTracker | FTriggerStateTracker | InputAction.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddInputTrigger
(
UInputTrigger* InputTrigger |
InputAction.h | ||
float GetElapsedTime() |
Total time the action has been evaluating triggering (Ongoing & Triggered) | InputAction.h | |
ETriggerState GetEvaluatedActionTriggerState() |
Returns the evaluated trigger state. | InputAction.h | |
float GetLastTriggeredWorldTime() |
Time that this action was last actively triggered. | InputAction.h | |
const TArray< TObjectPtr< UInputModifier > > & GetModifiers() |
InputAction.h | ||
TObjectPtr< const UInputAction > GetSourceAction() |
The source action that this instance is created from. | InputAction.h | |
float GetTriggeredTime() |
Time the action has been actively triggered (Triggered only) | InputAction.h | |
ETriggerEvent GetTriggerEvent() |
Current trigger event. | InputAction.h | |
const TArray< TObjectPtr< UInputTrigger > > & GetTriggers() |
InputAction.h | ||
FInputActionValue GetValue() |
Current action value - Will be zero if the current trigger event is not ETriggerEvent::Triggered! | InputAction.h | |
void RemoveInputTrigger
(
UInputTrigger* InputTrigger |
InputAction.h |