| PathEngine home | previous: | next: |
Generates preprocess to support pathfinding queries about movement for the specified shape on this mesh.
void generatePathfindPreprocessFor(iShape* shape, const char *const* attributes); |
| shape | The shape for which preprocess should be generated. | ||
| attributes |
This parameter enables attributes to be passed in to control aspects of the preprocess. See If you dont need to pass any attributes just pass zero in for this parameter. |
Collision preprocess must already be present for this shape on this mesh.
(So this should already have been generated with a call to
Pathfind preprocess should not already be present.
Preprocess must be generated in order to make collision or pathfinding queries
about movement for a given shape.
This method controls generation of pathfinding related preprocess for movement of the specified shape
on this mesh.
Pathfinding preprocess includes a visibility graph of potential connections between points of visibility,
also lookup tables for 'silhouette regions'.
If a method in the PathEngine API requires preprocess,
then this is specified in the method documention.
The method documentation also species which type of preprocess is required.
You can avoid the overhead of generating pathfinding preprocess at runtime by using
Refer to
| Documentation for PathEngine release 5.17 - Copyright © 2002-2008 PathEngine | next: |