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

Resizes the corner buffers.

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

Syntax

         
 C#  Visual Basic  Visual C++ 
public void ResizeCornerBuffer(
	int maxCorners
)
Public Sub ResizeCornerBuffer ( _
	maxCorners As Integer _
)
public:
void ResizeCornerBuffer(
	int maxCorners
)

Parameters

maxCorners
Int32
The maximum number of corners the corner buffer can hold. [Limit: >= 2]

Remarks

Due to internal optimizations, the maximum number of detectable corners will be (maxCorners - 1).

All possible corner buffer state will be preserved. (Some state may be lost if the buffer is reduced in size.)

See Also