Recast Navigation
Navigation-mesh Toolset for Games
dtCollectPolysQuery Class Reference
Inheritance diagram for dtCollectPolysQuery:
dtPolyQuery

Public Member Functions

 dtCollectPolysQuery (dtPolyRef *polys, const int maxPolys)
 
virtual ~dtCollectPolysQuery ()
 
int numCollected () const
 
bool overflowed () const
 
void process (const dtMeshTile *tile, dtPoly **polys, dtPolyRef *refs, int count)
 Called for each batch of unique polygons touched by the search area in dtNavMeshQuery::queryPolygons. More...
 
- Public Member Functions inherited from dtPolyQuery
virtual ~dtPolyQuery ()
 

Constructor & Destructor Documentation

◆ dtCollectPolysQuery()

dtCollectPolysQuery::dtCollectPolysQuery ( dtPolyRef polys,
const int  maxPolys 
)
inline

◆ ~dtCollectPolysQuery()

dtCollectPolysQuery::~dtCollectPolysQuery ( )
virtual

Member Function Documentation

◆ numCollected()

int dtCollectPolysQuery::numCollected ( ) const
inline

◆ overflowed()

bool dtCollectPolysQuery::overflowed ( ) const
inline

◆ process()

void dtCollectPolysQuery::process ( const dtMeshTile tile,
dtPoly **  polys,
dtPolyRef refs,
int  count 
)
inlinevirtual

Called for each batch of unique polygons touched by the search area in dtNavMeshQuery::queryPolygons.

This can be called multiple times for a single query.

Implements dtPolyQuery.


The documentation for this class was generated from the following file: