FMath::LerpStable

Allow passing of differing A/B types.

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Math/UnrealMathUtility.h

Include

#include "Math/UnrealMathUtility.h"

Syntax

template<typename T1, typename T2, typename T3, typename TEnableIf< !TIsSame< T1, T2 >::Value, int >::type>
static auto LerpStable
(
    const T1 & A,
    const T2 & B,
    const T3 & Alpha
)

Remarks

Allow passing of differing A/B types.