UCommonNumericTextBlock::InterpolateToValue

Starts an ongoing process of interpolating the current numeric value to the specified target value.

Windows
MacOS
Linux

References

Module

CommonUI

Header

/Engine/Plugins/Experimental/CommonUI/Source/CommonUI/Public/CommonNumericTextBlock.h

Include

#include "CommonNumericTextBlock.h"

Source

/Engine/Plugins/Experimental/CommonUI/Source/CommonUI/Private/CommonNumericTextBlock.cpp

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="Numeric Interpolation")
void InterpolateToValue
(
    const float TargetValue,
    float MaximumInterpolationDuration,
    float MinimumChangeRate,
    float OutroOffset
)

Remarks

Starts an ongoing process of interpolating the current numeric value to the specified target value. The interpolation process may take the specified maximum duration or complete sooner if the minimum change rate causes the target to be reached prematurely. Optionally, an outro duration can be specified in order to trigger an outro event before interpolation completes.

TargetValue The value to be interpolated to. MaximumInterpolationDuration The duration, in seconds, for the interpolation to take, at most. Must be greater than 0. MinimumChangeRate The minimum change in numeric value per second. Must be greater than or equal to 0. OutroDuration The time offset, in seconds, before the end of the InterpolationDuration elapses, at which to trigger an outro event. Must be less than or equal to MaximumInterpolationDuration

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