| PathEngine home | previous: | next: |
Enables the application to force generation of any connected regions preprocess associated with the obstacle set.
void updateConnectedRegionPreprocessFor(const iShape* shape) const; |
| shape | The shape for which connected regions preprocess should be generated. |
Collision preprocess must have been generated for the shape on the mesh for which this obstacle set was created.
This method is currently only relevant for obstacle sets marked for connected regions or pathfind preprocess generation on creation.
(See
Connected regions specific preprocess is not currently cached for other obstacle sets.
The preprocess updated by this query is normally updated automatically, if required, when the relevant query is dispatched. But there can be a significant cost for generating this preprocess, so this call enables the client application to force the preprocess to be updated in advance of queries requiring the preprocess, if this is desired.
Note that, if the obstacle set is marked for full (pathfind) preprocessing, then this method will actually currently
trigger a full pathfind preprocess update.
(The method is really intended for updating preprocess when the 'markForPreprocessing_ConnectedRegionsOnly' creation attribute is supplied.)
| Documentation for PathEngine release 5.29 - Copyright © 2002-2012 PathEngine | next: |