[This is preliminary documentation and is subject to change.]
Assembly: cai-nav (in cai-nav.dll) Version: 0.4.0.0 (0.4.0.0)
|C#||Visual Basic||Visual C++|
The polygon reference.
The filter to apply to the query.
The segment vertex buffer for all walls. [(vertA, vertB) * segmentCount]
The number of segments returned in the segments array.
Return ValueThe NavStatus flags for the query.
A segment that is normally a portal will be included in the result if the filter results in the neighbor polygon being considered impassable.
The vertex buffer must be sized for the maximum segments per polygon of the source navigation mesh. I.e: 2 * MaxAllowedVertsPerPoly
The segments can be used for simple 2D collision detection.