UInputModifierDeadZone

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

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

EnhancedInput

Header

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

Include

#include "InputModifiers.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss