EasyCurvedLine: EasyCurvedLine.LineSmoother Class Reference

Easy Curved Line

EasyCurvedLine  1.1
Easy rendering and editing of curved lines in Unity
EasyCurvedLine.LineSmoother Class Reference

Utility class for line smoothing. More...

Static Public Member Functions

static Vector3 [] SmoothLine (Vector3[] inputPoints, float segmentSize)
 Generate points to smooth a polyline with a higher resolution polyline to approximate a curve. More...
 

Detailed Description

Utility class for line smoothing.

Member Function Documentation

◆ SmoothLine()

static Vector3 [] EasyCurvedLine.LineSmoother.SmoothLine ( Vector3 []  inputPoints,
float  segmentSize 
)
static

Generate points to smooth a polyline with a higher resolution polyline to approximate a curve.

Parameters
inputPointsinput polyline points
segmentSizelength of each segment of the output polyline
Returns
Approximated curve points.

The documentation for this class was generated from the following file:
  • F:/Unity3D/Projects/Contrib/EasyCurvedLine/Assets/EasyCurvedLine/Scripts/LineSmoother.cs
Generated on Mon Jan 21 2019 15:49:37 for EasyCurvedLine by   doxygen 1.8.13