Method GetCurveLength
GetCurveLength(int)
Returns the length of a curve. This function returns 0 length for knot indices where ISpline segments overlap.
Declaration
public float GetCurveLength(int index)
Parameters
Type | Name | Description |
---|---|---|
int | index | The index of the curve that the length is retrieved from. |
Returns
Type | Description |
---|---|
float | Returns the length of the curve of index 'index' in the spline. |