UInputModifierSwizzleAxis

Swizzle axis components of an input value. Useful to map a 1D input onto the Y axis of a 2D action.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

EnhancedInput

Header

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

Include

#include "InputModifiers.h"

Syntax

UCLASS(NotBlueprintable, MinimalAPI, Meta=(DisplayName="Swizzle Input Axis Values"))
class UInputModifierSwizzleAxis : public UInputModifier

Remarks

Swizzle axis components of an input value. Useful to map a 1D input onto the Y axis of a 2D action.

Variables

Name Description

Public variable UProperty Category, EditAnywhere BlueprintReadWrite

EInputAxisSwizz...

 

Order

Default to XY swap, useful for binding 1D inputs to the Y axis.

Overridden from UInputModifier

Name Description

Protected function Virtual Const

FLinearColor

 

GetVisualizationColor_Implementation

(
    FInputActionValue SampleValue,
    FInputActionValue FinalValue
)

Protected function Virtual

FInputAction...

 

ModifyRaw_Implementation

(
    const UEnhancedPlayerInput* Pl...,
    FInputActionValue CurrentValue,
    float DeltaTime
)

ModifyRaw implementation.