UInputModifierSmooth

Smooth Smooth inputs out over multiple frames

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="Smooth"))
class UInputModifierSmooth : public UInputModifier

Remarks

Smooth Smooth inputs out over multiple frames

Variables

Name Description

Protected variable

FInputActionVal...

 

AverageValue

Current average input/sample

Protected variable

int32

 

Samples

Number of samples since input has been zero

Protected variable

float

 

TotalSampleTime

Input sampling total time.

Protected variable

float

 

ZeroTime

How long input has been zero.

Overridden from UInputModifier

Name Description

Protected function Virtual

FInputAction...

 

ModifyRaw_Implementation

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

ModifyRaw implementation.