UInputModifierDeadZone

Dead Zone Input values within the range LowerThreshold -> UpperThreshold will be remapped from 0 -> 1.

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="Dead Zone"))
class UInputModifierDeadZone : public UInputModifier

Remarks

Dead Zone Input values within the range LowerThreshold -> UpperThreshold will be remapped from 0 -> 1. Values outside this range will be clamped.

Variables

Name Description

Public variable UProperty Category BlueprintReadWrite Config editinstanceonly

float

 

LowerThreshold

Threshold below which input is ignored.

Public variable UProperty Category BlueprintReadWrite Config editinstanceonly

EDeadZoneType

 

Type

Public variable UProperty Category BlueprintReadWrite Config editinstanceonly

float

 

UpperThreshold

Threshold above which input is clamped to 1.

Overridden from UInputModifier

Name Description

Protected function Virtual Const

FLinearColor

 

GetVisualizationColor_Implementation

(
    FInputActionValue SampleValue,
    FInputActionValue FinalValue
)

Visualize as black when unmodified.

Protected function Virtual

FInputAction...

 

ModifyRaw_Implementation

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

ModifyRaw implementation.