Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/FPCGSplineStruct
Description
Given a threshold, returns a list of vertices along the spline segment that, treated as a list of segments (polyline), matches the spline shape. Taken from USplineComponent.
Taken from USplineComponent::ConvertSplineSegmentToPolyLine.
| Name | ConvertSplineSegmentToPolyLine |
| Type | function |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Data/PCGSplineStruct.h |
| Include Path | #include "Data/PCGSplineStruct.h" |
| Source | /Engine/Plugins/PCG/Source/PCG/Private/Data/PCGSplineStruct.cpp |
bool ConvertSplineSegmentToPolyLine
(
int32 SplinePointStartIndex,
ESplineCoordinateSpace::Type CoordinateSpace,
const float MaxSquareDistanceFromSpline,
TArray < FVector > & OutPoints
) const