Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Components/SplineComponent.h |
Include |
#include "Components/SplineComponent.h" |
Source |
/Engine/Source/Runtime/Engine/Private/Components/SplineComponent.cpp |
bool DivideSplineIntoPolylineRecursive
(
float StartDistanceAlongSpline,
float EndDistanceAlongSpline,
ESplineCoordinateSpace::Type CoordinateSpace,
const float MaxSquareDistanceFromSpline,
TArray< FVector > & OutPoints
) const
Given a threshold, recursively sub-divides the spline section until the list of segments (polyline) matches the spline shape.