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" |
static int64 Clamp
(
const int64 X,
const int32 Min,
const int32 Max
)
Remarks
Clamps X to be between Min and Max, inclusive. Overload to support mixed int64/int32 types.