Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Math > API/Runtime/Core/Math/FMath > API/Runtime/Core/Math/FMath/Clamp
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Math/UnrealMathUtility.h |
| Include | #include "Math/UnrealMathUtility.h" |
template<typename Arg1, typename Arg2, typename Arg3 UE_REQUIRES>
static auto Clamp
&40;
Arg1 X,
Arg2 Y,
Arg3 Z
&41;
Remarks
Allow mixing float/double arguments, promoting to highest precision type.