M_Curve:CountSegments()

Version added: before 9.5
Returns the number of segments on the curve

Return value:

int32 the number of segments on the curve
Returns the number of segments on the curve. A segment is a section of curve between two control points.
<< Back to M_Curve