UKismetMathLibrary::Vector_ClampSizeMax

Create a copy of this vector, with its maximum magnitude/size/length clamped to MaxSize.