DotRecastNetSim/src/DotRecast.Detour/IDtPolyQuery.cs

14 lines
476 B
C#

using System;
namespace DotRecast.Detour
{
/// Provides custom polygon query behavior.
/// Used by dtNavMeshQuery::queryPolygons.
/// @ingroup detour
public interface IDtPolyQuery
{
/// 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.
void Process(DtMeshTile tile, Span<DtPoly> poly, Span<long> refs, int count);
}
}