Method CalculateLength
CalculateLength()
Calculate the length of Spline in world space.
Declaration
public float CalculateLength()
Returns
Type | Description |
---|---|
float | The length of Spline in world space |
CalculateLength(int)
Calculates the length of Splines[splineIndex]
in world space.
Declaration
public float CalculateLength(int splineIndex)
Parameters
Type | Name | Description |
---|---|---|
int | splineIndex | The index of the spline to evaluate. |
Returns
Type | Description |
---|---|
float | The length of |