Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components > API/Runtime/Engine/Components/USplineComponent
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 |
UFUNCTION (BlueprintCallable, Category=Spline)
bool ConvertSplineToPolyLine
(
ESplineCoordinateSpace::Type CoordinateSpace,
const float MaxSquareDistanceFromSpline,
TArray < FVector > & OutPoints
) const
Remarks
Given a threshold, returns a list of vertices along the spline that, treated as a list of segments (polyline), matches the spline shape.