Navigation
API > API/Plugins > API/Plugins/EnhancedInput
Dead Zone Input values within the range LowerThreshold -> UpperThreshold will be remapped from 0 -> 1. Values outside this range will be clamped.
| Name | UInputModifierDeadZone |
| Type | class |
| Header File | /Engine/Plugins/EnhancedInput/Source/EnhancedInput/Public/InputModifiers.h |
| Include Path | #include "InputModifiers.h" |
Syntax
UCLASS (NotBlueprintable, MinimalAPI, Meta=(DisplayName="Dead Zone"))
class UInputModifierDeadZone : public UInputModifier
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UInputModifier → UInputModifierDeadZone
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| LowerThreshold | float | Threshold below which input is ignored This value should always be lower then the UpperThreshold. | InputModifiers.h |
|
| Type | EDeadZoneType | InputModifiers.h |
|
|
| UpperThreshold | float | Threshold above which input is clamped to 1. | InputModifiers.h |
|
Functions
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual EDataValidationResult IsDataValid
(
FDataValidationContext& Context |
InputModifiers.h | ||
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
InputModifiers.h |
Overridden from UInputModifier
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FLinearColor GetVisualizationColor_Implementation
(
FInputActionValue SampleValue, |
Visualize as black when unmodified. | InputModifiers.h | |
virtual FInputActionValue ModifyRaw_Implementation
(
const UEnhancedPlayerInput* PlayerInput, |
ModifyRaw implementation. Override this to alter input values in native code. | InputModifiers.h |