[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 buffer to load the results into. [Length: >= 2]
Return ValueThe number of corners returned in the buffers.
This method can be used to do corner searches that exceed the capacity of the corridor's normal corner buffers.
This method performs essentially the same function as GetStraightPath(Vector3, Vector3, array<UInt32>(), Int32, Int32, array<Vector3>(), array<WaypointFlag>(), array<UInt32>(), Int32%).
Due to internal optimizations, the actual maximum number of corners returned will be (buffer.MaxCorners - 1)
If the target is within range, it will be the last corner and have a polygon reference of zero.
Behavior is undefined if the buffer structure is malformed. E.g. The flag and polygon buffers are different sizes.