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

Gets the reference of the polygon based on its polygon index within a tile.

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 static uint GetPolyRef(
	uint basePolyRef,
	int polyIndex
)
Public Shared Function GetPolyRef ( _
	basePolyRef As UInteger, _
	polyIndex As Integer _
) As UInteger
public:
static unsigned int GetPolyRef(
	unsigned int basePolyRef, 
	int polyIndex
)

Parameters

basePolyRef
UInt32
The reference of the tile's base poygon. (GetBasePolyRef()()()())
polyIndex
Int32
The polygon's index within the tile.

Return Value

The reference of the polygon.

See Also