| PathEngine home | previous: | next: |
Returns the number of distinct connected regions in the unobstructed space for a given shape.
tSigned32 getNumberOfConnectedRegions(iShape* shape) const; |
| shape | The collision shape to use for this query. |
Requires that this obstacle set has been marked for preprocessing and that connected region queries have been enabled with the relevant preprocess generation attribute.
See
This method enables you to query against the set of 'semi-dynamic' obstacles
in a 'preprocessed obstacle set', in addition to static geometry.
For queries against just the static geometry on this mesh (i.e. external edges and burnt in obstacles),
use
| Documentation for PathEngine release 5.18 - Copyright © 2002-2008 PathEngine | next: |