Recast Navigation
Navigation-mesh Toolset for Games
dtPolyQuery Class Referenceabstract

Provides custom polygon query behavior. More...

#include <DetourNavMeshQuery.h>

Inheritance diagram for dtPolyQuery:
dtCollectPolysQuery dtFindNearestPolyQuery

Public Member Functions

virtual ~dtPolyQuery ()
 
virtual void process (const dtMeshTile *tile, dtPoly **polys, dtPolyRef *refs, int count)=0
 Called for each batch of unique polygons touched by the search area in dtNavMeshQuery::queryPolygons. More...
 

Description

Provides custom polygon query behavior.

Used by dtNavMeshQuery::queryPolygons.

Constructor & Destructor Documentation

◆ ~dtPolyQuery()

dtPolyQuery::~dtPolyQuery ( )
virtual

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 dtCollectPolysQuery, and dtFindNearestPolyQuery.


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