RavEngine
Loading...
Searching...
No Matches
dtFindNearestPolyQuery Class Reference
Inheritance diagram for dtFindNearestPolyQuery:
[legend]
Collaboration diagram for dtFindNearestPolyQuery:
[legend]

Public Member Functions

 dtFindNearestPolyQuery (const dtNavMeshQuery *query, const float *center)
 
dtPolyRef nearestRef () const
 
const float * nearestPoint () const
 
void process (const dtMeshTile *tile, dtPoly **polys, dtPolyRef *refs, int count)
 

Member Function Documentation

◆ process()

void dtFindNearestPolyQuery::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: