Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Math > API/Runtime/Core/Math/FMath > API/Runtime/Core/Math/FMath/GetMappedRangeValueClamped
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Math/UnrealMathUtility.h |
| Include | #include "Math/UnrealMathUtility.h" |
template<typename T, typename T2>
static auto GetMappedRangeValueClamped
(
const UE::Math::TVector2 < T > & InputRange,
const UE::Math::TVector2 < T > & OutputRange,
const T2 Value
)
Remarks
For the given Value clamped to the [Input:Range] inclusive, returns the corresponding percentage in [Output:Range] Inclusive.