Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Math > API/Runtime/Core/Math/FMath
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Math/UnrealMathUtility.h |
| Include | #include "Math/UnrealMathUtility.h" |
template<typename T>
static constexpr T SmoothStep
&40;
T A,
T B,
T X
&41;
Remarks
Returns a smooth Hermite interpolation between 0 and 1 for the value X (where X ranges between A and B) Clamped to 0 for X <= A and 1 for X >= B. Smoothed value between 0 and 1
Parameters
| Name | Description |
|---|---|
| A | Minimum value of X |
| B | Maximum value of X |
| X | Parameter |