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

Gets a polygon and its 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 NavStatus GetTileAndPoly(
	uint polyRef,
	out NavmeshTile tile,
	out NavmeshPoly poly
)
Public Function GetTileAndPoly ( _
	polyRef As UInteger, _
	<OutAttribute> ByRef tile As NavmeshTile, _
	<OutAttribute> ByRef poly As NavmeshPoly _
) As NavStatus
public:
NavStatus GetTileAndPoly(
	unsigned int polyRef, 
	[OutAttribute] NavmeshTile^% tile, 
	[OutAttribute] NavmeshPoly% poly
)

Parameters

polyRef
UInt32
The reference of the polygon.
tile
NavmeshTile%
The tile the polygon belongs to.
poly
NavmeshPoly%
The polygon.

Return Value

The NavStatus flags for the operation.

See Also