/Engine/Source/Runtime/Navmesh/Public/Detour/DetourNavMeshQuery.h
Returns cost to move from the beginning to the end of a line segment that is fully contained within a polygon.
dtReal getCost ( const dtReal * pa, const dtReal * pb, const dtPolyRef prevRef, const [dtMeshTile](API\Runtime\Navmesh\Detour\dtMeshTile) * prevTile, const [dtPoly](API\Runtime\Navmesh\Detour\dtPoly) * prevPoly, const dtPolyRef curRef, const [dtMeshTile](API\Runtime\Navmesh\Detour\dtMeshTile) * curTile, const [dtPoly](API\Runtime\Navmesh\Detour\dtPoly) * curPoly, const dtPolyRef nextRef, const [dtMeshTile](API\Runtime\Navmesh\Detour\dtMeshTile) * nextTile, const [dtPoly](API\Runtime\Navmesh\Detour\dtPoly) * nextPoly ) const