Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FMath
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static auto GetRangePct
(
UE::Math::TVector2< T > const& Range, |
Same as above, but taking a 2d vector as the range. | Math/UnrealMathUtility.h | |
static double GetRangePct
(
TRange< T > const& Range, |
Math/UnrealMathUtility.h | ||
static auto GetRangePct
(
T MinValue, |
Calculates the percentage along a line from MinValue to MaxValue that Value is. | Math/UnrealMathUtility.h |
GetRangePct(UE::Math::TVector2< T > const &, T2)
Description
Same as above, but taking a 2d vector as the range.
| Name | GetRangePct |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/UnrealMathUtility.h |
| Include Path | #include "Math/UnrealMathUtility.h" |
template<UE::CFloatingPoint T, typename T2>
static auto GetRangePct
(
UE::Math::TVector2 < T > const & Range,
T2 Value
)
GetRangePct(TRange< T > const &, T)
| Name | GetRangePct |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/UnrealMathUtility.h |
| Include Path | #include "Math/UnrealMathUtility.h" |
template<class T>
static double GetRangePct
(
TRange < T > const & Range,
T Value
)
GetRangePct(T, T, T2)
Description
Calculates the percentage along a line from MinValue to MaxValue that Value is.
| Name | GetRangePct |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/UnrealMathUtility.h |
| Include Path | #include "Math/UnrealMathUtility.h" |
template<UE::CFloatingPoint T, typename T2>
static auto GetRangePct
(
T MinValue,
T MaxValue,
T2 Value
)