/Engine/Source/Editor/ComponentVisualizers/Public/SplineComponentVisualizer.h
Checks TangentHandle and TangentHandleType are valid and sets relevant output parameters.
void GetVerifiedSelectedTangentHandle ( const int32 InNumSplinePoints, int32 & OutSelectedTangentHandle, ESelectedTangentHandle & OutSelectedTangentHandleType ) const