Struct PathPartIterator

Public

An iterator with some utility functions for accessing all parts of a path.

A path is divided up into parts, each of which is either a normal sequence of points or an off-mesh link.

Public Methods

NextPart ()
Public
PathPartIterator (parts)
Public
Pool ()
Public
PreviousPart ()
Public
Refresh ()
Public

Public Variables

count

Total number of path parts.

Public
current

Current path part.

Public
index
Public
isLastPart

True if current is the last path part in the sequence.

Public
isValid
Public
parts
Public
remainingDistance

Sum of the lengths of all path parts after this one.

Public