[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 segments. [(vertA, vertB) * segmentCount]
Refernce ids of the each segment's neighbor polygon. Or zero if the segment is considered impassable. [(polyRef) * segmentCount] (Optional)
The number of segments returned.
Return ValueThe NavStatus flags for the query.
If the segmentPolyRefs parameter is provided, then all polygon segments will be returned. If the parameter is null, then only the wall segments are returned.
A segment that is normally a portal will be included in the result as a wall if the filter results in the neighbor polygon being considered impassable.
The vertex and polyRef buffers must be sized for the maximum segments per polygon of the source navigation mesh. I.e. (2 * MaxAllowedVertsPerPoly)