UInputTriggerTimedBase::CalculateHeldDuration

Calculates the new held duration given the current player input and delta time.

Windows
MacOS
Linux

References

Module

EnhancedInput

Header

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

Include

#include "InputTriggers.h"

Source

/Engine/Plugins/Experimental/EnhancedInput/Source/EnhancedInput/Private/InputTriggers.cpp

Syntax

float CalculateHeldDuration
(
    const UEnhancedPlayerInput *const PlayerInput,
    const float DeltaTime
) const

Remarks

Calculates the new held duration given the current player input and delta time.

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