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

Public Member Functions

 dtFindNearestPolyQuery (const dtNavMeshQuery *query, const float *center)
 
virtual ~dtFindNearestPolyQuery ()
 
dtPolyRef nearestRef () const
 
const float * nearestPoint () const
 
bool isOverPoly () 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

◆ dtFindNearestPolyQuery()

dtFindNearestPolyQuery::dtFindNearestPolyQuery ( const dtNavMeshQuery query,
const float *  center 
)
inline

◆ ~dtFindNearestPolyQuery()

dtFindNearestPolyQuery::~dtFindNearestPolyQuery ( )
virtual

Member Function Documentation

◆ isOverPoly()

bool dtFindNearestPolyQuery::isOverPoly ( ) const
inline

◆ nearestPoint()

const float* dtFindNearestPolyQuery::nearestPoint ( ) const
inline

◆ nearestRef()

dtPolyRef dtFindNearestPolyQuery::nearestRef ( ) const
inline

◆ 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: