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

Load the polygon data.

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 bool LoadPolys(
	ushort[] polyVerts,
	int vertCount,
	ushort[] polys,
	ushort[] polyFlags,
	byte[] polyAreas,
	int polyCount
)
Public Function LoadPolys ( _
	polyVerts As UShort(), _
	vertCount As Integer, _
	polys As UShort(), _
	polyFlags As UShort(), _
	polyAreas As Byte(), _
	polyCount As Integer _
) As Boolean
public:
bool LoadPolys(
	array<unsigned short>^ polyVerts, 
	int vertCount, 
	array<unsigned short>^ polys, 
	array<unsigned short>^ polyFlags, 
	array<unsigned char>^ polyAreas, 
	int polyCount
)

Parameters

polyVerts
array<UInt16>[]()[][]
Polygon vertices.
vertCount
Int32
The number of vertices.
polys
array<UInt16>[]()[][]
Polygons.
polyFlags
array<UInt16>[]()[][]
Polygon flags.
polyAreas
array<Byte>[]()[][]
Polygon areas ids.
polyCount
Int32
The number of polygons.

Return Value

True if the load succeeded.

See Also