USplineComponent::SetClosedLoop

Specify whether the spline is a closed loop or not.

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/SplineComponent.h

Include

#include "Components/SplineComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/Components/SplineComponent.cpp

Syntax

void SetClosedLoop
(
    bool bInClosedLoop,
    bool bUpdateSpline
)

Remarks

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