Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Math > API/Runtime/Core/Math/FMath > API/Runtime/Core/Math/FMath/GetRangePct
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Math/UnrealMathUtility.h |
| Include | #include "Math/UnrealMathUtility.h" |
template<typename T, typename T2, std::enable_if_t<(std::is_floating_point_v< T >), int >>
static auto GetRangePct
(
T MinValue,
T MaxValue,
T2 Value
)
Remarks
Calculates the percentage along a line from MinValue to MaxValue that Value is.