[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 point to check.
The closest point.
Return ValueThe NavStatus flags for the query.
Much faster than the other nearest point methods.
If the provided point lies within the polygon's xz-column (above or below), then the source and result points will be equal.
The boundary point will be the polygon boundary, not the height corrected detail boundary. Use GetPolyHeight(NavmeshPoint, Single%) if needed.
The source point does not have to be within the bounds of the navigation mesh.