/Engine/Source/Runtime/Navmesh/Public/Detour/DetourNavMeshQuery.h
The start and end positions are used to calculate traversal costs. (The y-values impact the result.)
dtStatus findPath ( dtPolyRef startRef, dtPolyRef endRef, const dtReal * startPos, const dtReal * endPos, const dtReal costLimit, const [dtQueryFilter](API\Runtime\Navmesh\Detour\dtQueryFilter) * filter, [dtQueryResult](API\Runtime\Navmesh\Detour\dtQueryResult) & result, dtReal * totalCost ) const