PathEngine home | previous: | next: |
Generates preprocess data for pathfinding around agent unobstructed space.
void generatePathfindPreprocessFor(const iShape& shape, const char *const* options); |
shape | The shape for which pathfind preprocess should be generated. | ||
options |
This parameter enables optional attributes to be passed in to control aspects of the preprocess generation, if special behaviour is desired.
If special bevaviour is desired, then
see
See If no special behaviour is desired then you can just pass zero in for this parameter, to indicate no attributes. |
Unobstructed space must be present for the shape on this mesh, and must be 'combined' (i.e. the 'combine' argument should have been set to true when generating unobstructed space).
Pathfind preprocess must not already be present for the shape on this mesh.
You can avoid the overhead of generating preprocess at runtime by using
Multithreading details: Base mesh preprocess generation operations are non-blocking between shapes,
so preprocess can be generated for multiple shapes simultaneously.
(See
void generatePathfindPreprocessFor(Shape shape, string[] options); |
Documentation for PathEngine release 6.04 - Copyright © 2002-2024 PathEngine | next: |