/Engine/Plugins/Animation/ControlRigSpline/Source/ControlRigSpline/Public/ControlRigSplineTypes.h
Sets the control points in the spline. It will build the spline if needed, or will update the points if building from scratch is not necessary. The type of spline to build will depend on what is set in SplineMode.
void SetControlPoints ( const [TArrayView](API\Runtime\Core\Containers\TArrayView)< const FVector > & InPoints, const [ESplineType](API\Plugins\ControlRigSpline\ESplineType) SplineMode, const bool bInClosed, const int32 SamplesPerSegment, const float Compression, const float Stretch )