Assets/SplineTool/Scripts/CorgiSpline/Spline.cs
/// <summary>
/// Ignoring handles, returns the "point" count. 
/// For Bezier splines, this means returning the number of anchor points in the spline.
/// </summary>
/// <returns></returns>
Ignoring handles, returns the "point" count.
For Bezier splines, this means returning the number of anchor points in the spline.
Ignoring handles returns the " point " count . For Bezier splines this means returning the number of anchor points in the spline .
public int GetPointCountIgnoreHandles()
        {
            var isBezier = GetSplineMode() == SplineMode.Bezier;
            if(isBezier)
            {
                return Points.Length / 3; 
            }
            else
            {
                return Points.Length;
            }
        }
public int GetPointCountIgnoreHandles ( ) { var isBezier = GetSplineMode ( ) == SplineMode . Bezier ; if ( isBezier ) { return Points . Length / 3 ; } else { return Points . Length ; } }
Ignoring handles, returns the "point" count.
Ignoring handles returns the " point " count .
None