FSnappingUtils::SnapLocationToNearestVertex

Snaps a location to the nearest vertex