/Engine/Source/Runtime/Core/Public/Math/UnrealMathUtility.h
Clamps X to be between Min and Max, inclusive. Explicitly defined here for floats/doubles because static analysis gets confused between template and int versions.
static constexpr float Clamp ( const float X, const float Min, const float Max )