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

Returns a copy of polygon and neighbor information.

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 int GetPolys(
	ushort[] buffer
)
Public Function GetPolys ( _
	buffer As UShort() _
) As Integer
public:
int GetPolys(
	array<unsigned short>^ buffer
)

Parameters

buffer
array<UInt16>[]()[][]
The buffer to load the results into. [Length: >= PolyCount * 2 * MaxVertsPerPoly]

Return Value

The number of polygons returned, or -1 on error.

See Also