USplineComponent::SetClosedLoopAtPosition

Specify whether the spline is a closed loop or not, and if so, the input key corresponding to the loop point

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 SetClosedLoopAtPosition
(
    bool bInClosedLoop,
    float Key,
    bool bUpdateSpline
)

Remarks

Specify whether the spline is a closed loop or not, and if so, the input key corresponding to the loop point