RavEngine
Loading...
Searching...
No Matches
dtPolyQuery Class Referenceabstract

#include <DetourNavMeshQuery.h>

Inheritance diagram for dtPolyQuery:
[legend]

Public Member Functions

virtual void process (const dtMeshTile *tile, dtPoly **polys, dtPolyRef *refs, int count)=0
 

Detailed Description

Provides custom polygon query behavior. Used by dtNavMeshQuery::queryPolygons.

Member Function Documentation

◆ process()

virtual void dtPolyQuery::process ( const dtMeshTile *  tile,
dtPoly **  polys,
dtPolyRef *  refs,
int  count 
)
pure virtual

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.

Implemented in dtFindNearestPolyQuery, and dtCollectPolysQuery.


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