[This is preliminary documentation and is subject to change.]

The straight path corners for the corridor. (The string-pulled path.)

Namespace: org.critterai.nav
Assembly: cai-nav (in cai-nav.dll) Version: (


 C#  Visual Basic  Visual C++ 
public CornerData Corners { get; }
Public ReadOnly Property Corners As CornerData
property CornerData^ Corners {
	CornerData^ get ();


Due to internal optimizations, the maximum number of detectable corners returned will be (Corners.MaxCorners - 1) For example: If the corner buffers are sized to hold 10 corners, there will never be more than 9 corners available.

If the target is within range, it will be the last corner and have a polygon reference of zero.

This is a reference, not a copy, of the internal data buffer. It should be treated with care. (I.e. Not mutated.)

See Also