Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/FPCGSplineStruct
Description
Given a threshold, returns a list of vertices along the spline that, treated as a list of segments (polyline), matches the spline shape. Taken from USplineComponent.
Taken from USplineComponent::ConvertSplineToPolyLine.
| Name | ConvertSplineToPolyLine |
| 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 ConvertSplineToPolyLine
(
ESplineCoordinateSpace::Type CoordinateSpace,
const float MaxSquareDistanceFromSpline,
TArray < FVector > & OutPoints
) const