| PathEngine home | previous: | next: |
A sequence of positions on a mesh. Returned by Pathfinding queries.
Defined in SDKRoot/include/i_pathengine.h.
iPath objects are pooled internally,
with
Paths with one position are used to indicate that an agent has arrived at their target
or are already at their target when a pathfinding query is made.
Since release 5.00, paths always contain one or more positions.
iPath objects are generally constructed and returned by pathfinding queries, but can also be constructed directly by calling
iPath objects can be deleted explicitly by calling delete on the pointer or by calling the object's destroy() function.
All iPath objects are deleted by a call to
A pointer to an iPath object must not be used after the object has been deleted.
All paths created on a mesh get destroyed automatically when the mesh is destroyed.
Provides the same functionality as
| ||
Enables the client application to determine whether a given segment in a path corresponds to an 'off-mesh connection'. | ||
Returns a pointer to a buffer containing all of the connection indices in the path. | ||
Returns the total length of the path. | ||
Returns a pointer to a buffer containing all of the positions in the path. | ||
Returns a position in the path at a specified index. | ||
A helper method for drawing paths flush with the surface of the 3D ground mesh. | ||
Returns the number of points that comprise the path. |
| Documentation for PathEngine release 5.16 - Copyright © 2002-2008 PathEngine | next: |