Navigation
API > API/Plugins > API/Plugins/EnhancedInput
Swizzle axis components of an input value. Useful to map a 1D input onto the Y axis of a 2D action.
| Name | UInputModifierSwizzleAxis |
| Type | class |
| Header File | /Engine/Plugins/EnhancedInput/Source/EnhancedInput/Public/InputModifiers.h |
| Include Path | #include "InputModifiers.h" |
Syntax
UCLASS (NotBlueprintable, MinimalAPI, Meta=(DisplayName="Swizzle Input Axis Values"))
class UInputModifierSwizzleAxis : public UInputModifier
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UInputModifier → UInputModifierSwizzleAxis
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Order | EInputAxisSwizzle | Default to XY swap, useful for binding 1D inputs to the Y axis. | InputModifiers.h |
|
Functions
Protected
Overridden from UInputModifier
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FLinearColor GetVisualizationColor_Implementation
(
FInputActionValue SampleValue, |
InputModifiers.h | ||
virtual FInputActionValue ModifyRaw_Implementation
(
const UEnhancedPlayerInput* PlayerInput, |
ModifyRaw implementation. Override this to alter input values in native code. | InputModifiers.h |