/Engine/Source/Runtime/Engine/Classes/Components/SplineComponent.h
Given a threshold, returns a list of vertices along the spline that, treated as a list of segments (polyline), matches the spline shape.
bool ConvertSplineToPolyLine ( [ESplineCoordinateSpace::Type](API\Runtime\Engine\Components\ESplineCoordinateSpace__Type) CoordinateSpace, const float MaxSquareDistanceFromSpline, [TArray](API\Runtime\Core\Containers\TArray)< FVector > & OutPoints ) const