Table of Contents

Class SplinePolyLine

Spline Triangulation Helper Class

[Serializable]
public class SplinePolyLine
Inheritance
SplinePolyLine

Constructors

SplinePolyLine(CurvySpline)

Creates a Spline2MeshCurve class using Spline2MeshCurve.VertexMode.ByApproximation

public SplinePolyLine(CurvySpline spline)

Parameters

spline CurvySpline

SplinePolyLine(CurvySpline, float, float)

Creates a Spline2MeshCurve class using Spline2MeshCurve.VertexMode.ByAngle

public SplinePolyLine(CurvySpline spline, float angle, float distance)

Parameters

spline CurvySpline
angle float
distance float

Fields

Angle

Angle, used by VertexMode.ByAngle only

public float Angle

Field Value

float

Distance

Minimum distance, used by VertexMode.ByAngle only

public float Distance

Field Value

float

Orientation

Orientation order

public ContourOrientation Orientation

Field Value

ContourOrientation

Space

public Space Space

Field Value

Space

Spline

Base Spline

public CurvySpline Spline

Field Value

CurvySpline

VertexMode

Vertex Calculation Mode

public SplinePolyLine.VertexCalculation VertexMode

Field Value

SplinePolyLine.VertexCalculation

Properties

IsClosed

Gets whether the spline is closed

public bool IsClosed { get; }

Property Value

bool

Methods

GetVertexList()

Get vertices calculated using the current VertexMode

public SubArray<Vector3> GetVertexList()

Returns

SubArray<Vector3>

an array of vertices