Navigation
API > API/Plugins > API/Plugins/SVGImporter > API/Plugins/SVGImporter/FSVGImporterUtils
References
| Module | SVGImporter |
| Header | /Engine/Plugins/Experimental/SVGImporter/Source/SVGImporter/Public/SVGImporterUtils.h |
| Include | #include "SVGImporterUtils.h" |
| Source | /Engine/Plugins/Experimental/SVGImporter/Source/SVGImporter/Private/SVGImporterUtils.cpp |
static bool ConvertSVGSplineToPolyLine
(
const USplineComponent * InSplineComponent,
ESplineCoordinateSpace::Type InCoordinateSpace,
float InMaxSquareDistanceFromSpline,
TArray < FVector > & OutPoints
)
Remarks
Given a threshold, returns a list of vertices along the specified spline that, treated as a list of segments (polyline), matches the spline shape. This function is a reviewed implementation of USplineComponent::ConvertSplineToPolyLine.
Parameters
| Name | Description |
|---|---|
| InSplineComponent | The spline to be fitted |
| InCoordinateSpace | The coordinate space to be used |
| InMaxSquareDistanceFromSpline | Fitting threshold |
| OutPoints | The polyline, as a list of Vectors |