Method GetLength
GetLength()
Return the sum of all curve lengths, accounting for Closed state. Note that this value is affected by the transform used to create this NativeSpline.
Declaration
public float GetLength()
Returns
Type | Description |
---|---|
float | Returns the sum length of all curves composing this spline, accounting for closed state. |