/Engine/Source/Runtime/Navmesh/Public/DetourCrowd/DetourPathCorridor.h
This function is not suitable for long distance searches.
bool optimizePathVisibility ( const dtReal * next, const dtReal pathOptimizationRange, [dtNavMeshQuery](API\Runtime\Navmesh\Detour\dtNavMeshQuery) * navquery, const [dtQueryFilter](API\Runtime\Navmesh\Detour\dtQueryFilter) * filter )