Contents, API Reference, Interfaces, iObstacleSet, pathfindPreprocessNeedsUpdate
iObstacleSet::pathfindPreprocessNeedsUpdate()
Description
Checks the state of pathfinding preprocess, on obstacle sets marked for full preprocessing.
Syntax
bool pathfindPreprocessNeedsUpdate(iShape* shape) const; |
Parameters
| shape | |
Check preprocess for this agent shape.
|
Requirements
Pathfind preprocess must have been generated for the shape on the mesh for which this obstacle set was created.
Return Value
True if this obstacle set has been marked for preprocessing, and preprocess has not yet been generated,
or is out of date following changes to the set of contained obstacles, otherwise false.Remarks
A preprocess update can be forced by calling
iObstacleSet::updatePathfindingPreprocessFor().