/Engine/Source/Runtime/Core/Public/Math/UnrealMathUtility.h
Clamps an arbitrary angle to be between the given angles. Will clamp to nearest boundary.
Returns clamped angle in the range -180..180.
template<typename T> static T ClampAngle ( T AngleDegrees, T MinAngleDegrees, T MaxAngleDegrees )