Unity provides standard spline asset, use BGCurve only if Unity spline misses some feature

Triangulate 2D spline [Component]

Description

Triangulates 2D spline. Simple polygons only (no intersections). UVs are also generated, based on min/max point positions (imagine a bounding square with lower left point [0,0] and upper right point [1.1] being projected on spline's plane)

Parameters

splitMode

partsTotal

partsPerSection

doNotOptimizeStraightLines

updateEveryFrame

flip

scaleUV

offsetUV

doubleSided

scaleBackUV

offsetBackUV

showHandles

spheresScale

spheresColor

spheresCount