Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FMath
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static T Lerp
(
const T& A, |
Performs a linear interpolation between two values, Alpha ranges from 0-1 | Math/UnrealMathUtility.h | |
static T Lerp
(
const T& A, |
Custom lerps defined for those classes not suited to the default implemenation. | Math/UnrealMathUtility.h | |
| Allow passing of differing A/B types. | Math/UnrealMathUtility.h |
Lerp(const T &, const T &, const U &)
Description
Performs a linear interpolation between two values, Alpha ranges from 0-1
| Name | Lerp |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/UnrealMathUtility.h |
| Include Path | #include "Math/UnrealMathUtility.h" |
template<typename T, typename U, std::enable_if_t<< T >::Value && &&!std::is_same_v< T, bool >), int >>
static T Lerp
(
const T & A,
const T & B,
const U & Alpha
)
Lerp(const T &, const T &, const U &)
Description
Custom lerps defined for those classes not suited to the default implemenation.
| Name | Lerp |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/UnrealMathUtility.h |
| Include Path | #include "Math/UnrealMathUtility.h" |
template<typename T, typename U, std::enable_if_t<< T >::Value ), int >>
static T Lerp
(
const T & A,
const T & B,
const U & Alpha
)
Lerp(const T1 &, const T2 &, const T3 &)
Description
Allow passing of differing A/B types.
| Name | Lerp |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/UnrealMathUtility.h |
| Include Path | #include "Math/UnrealMathUtility.h" |
template<typename T1, typename T2, typename T3, std::enable_if_t<< T1 >::Value &&!TCustomLerp < T2 >::Value ), int >>
static decltype *B ) Lerp
(
const T1 & A,
const T2 & B,
const T3 & Alpha
)