/Engine/Source/Runtime/Engine/Classes/Components/SplineComponent.h
Specify whether the spline is a closed loop or not. The loop position will be at 1.0 after the last point's input key
void SetClosedLoop ( bool bInClosedLoop, bool bUpdateSpline )