Function Path.GetTotalLength
GetTotalLength
()
Total Length of the path.
Public
float GetTotalLength ()
Total Length of the path.
Calculates the total length of the vectorPath. Cache this rather than call this function every time since it will calculate the length every time, not just return a cached value.
Return
Total length of vectorPath, if vectorPath is null positive infinity is returned.