/Engine/Source/Runtime/Engine/Classes/Components/SplineComponent.h
Specify whether the spline is a closed loop or not, and if so, the input key corresponding to the loop point
void SetClosedLoopAtPosition ( bool bInClosedLoop, float Key, bool bUpdateSpline )