Module |
|
Header |
/Engine/Source/Runtime/Navmesh/Public/DetourCrowd/DetourPathCorridor.h |
Include |
#include "DetourCrowd/DetourPathCorridor.h" |
Source |
/Engine/Source/Runtime/Navmesh/Private/DetourCrowd/DetourPathCorridor.cpp |
bool isValid
(
const int maxLookAhead,
dtNavMeshQuery * navquery,
const dtQueryFilter * filter
)
Checks the current corridor path to see if its polygon references remain valid.
The path can be invalidated if there are structural changes to the underlying navigation mesh, or the state of a polygon within the path changes resulting in it being filtered out. (E.g. An exclusion or inclusion flag changes.)
Parameter |
Description |
---|---|
maxLookAhead |
The number of polygons from the beginning of the corridor to search. |
navquery |
The query object used to build the corridor. |
filter |
The filter to apply to the operation. |