UKismetMathLibrary::FInterpTo_Constant

Tries to reach Target at a constant rate.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Kismet/KismetMathLibrary.h

Include

#include "Kismet/KismetMathLibrary.h"

Source

/Engine/Source/Runtime/Engine/Classes/Kismet/KismetMathLibrary.inl

Syntax

static float FInterpTo_Constant
(
    float Current,
    float Target,
    float DeltaTime,
    float InterpSpeed
)

Remarks

Tries to reach Target at a constant rate.

Returns

New interpolated position

Parameters

Parameter

Description

Current

Actual position

Target

Target position

DeltaTime

Time since last tick

InterpSpeed

Interpolation speed

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