/Engine/Source/Runtime/Navmesh/Public/Detour/DetourNavMeshQuery.h
The raycast will search toward the end position along the first floor mesh. If it reaches the end position's xz-coordinates it will indicate DT_REAL_MAX (no wall hit), meaning it reached the end position. This is one example of why this method is meant for short distance checks.
The status flags for the query.
dtStatus raycast ( dtPolyRef startRef, const dtReal * startPos, const dtReal * endPos, const [dtQueryFilter](API\Runtime\Navmesh\Detour\dtQueryFilter) * filter, dtReal * t, dtReal * hitNormal, dtPolyRef * path, int * pathCount, const int maxPath ) const