Navigation
API > API/Plugins > API/Plugins/EnhancedInput
Inheritance Hierarchy
- UInputTrigger
- UInputTriggerCombo
References
| Module | EnhancedInput |
| Header | /Engine/Plugins/EnhancedInput/Source/EnhancedInput/Public/InputTriggers.h |
| Include | #include "InputTriggers.h" |
Syntax
UCLASS (NotBlueprintable, Meta=(DisplayName="Combo (Beta)", NotInputConfigurable="true"))
class UInputTriggerCombo : public UInputTrigger
Remarks
UInputTriggerCombo All actions in the combo array must be completed (based on combo completion event specified - triggered, completed, etc.) to trigger the action this trigger is on. Actions must also be completed in the order specified by the combo actions array (starting at index 0). Note: This will only trigger for one frame before resetting the combo trigger's progress
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< TObjectPtr< const UInputAction > > | CancelActions | Actions that will cancel the combo if they are triggered. | |
| TArray< FInputComboStepData > | ComboActions | List of input actions that need to be completed (according to Combo Step Completion States) to trigger this action. | |
| int32 | CurrentComboStepIndex | Keeps track of what action we're currently at in the combo. | |
| float | CurrentTimeBetweenComboSteps | Time elapsed between last combo InputAction trigger and current time. | |
| TArray< FInputCancelAction > | InputCancelActions | Actions that will cancel the combo if they are completed (according to Cancellation States) |
Constructors
No constructors are accessible with public or protected access.
Functions
| Type | Name | Description | |
|---|---|---|---|
| ETriggerEventsSupported | Determines what kind of trigger events can happen from the behavior of this trigger. | ||
| ETriggerType | Implicit, so action cannot fire unless this is firing. | ||
| EDataValidationResult | IsDataValid
(
FDataValidationContext& Context |
||
| void | PostLoad () |
||
| ETriggerState | UpdateState_Implementation
(
const UEnhancedPlayerInput* PlayerInput, |