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

Adds a tile to the navigation mesh.

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 AddTile(
	NavmeshTileData tileData,
	uint desiredTileRef,
	out uint resultTileRef
)
Public Function AddTile ( _
	tileData As NavmeshTileData, _
	desiredTileRef As UInteger, _
	<OutAttribute> ByRef resultTileRef As UInteger _
) As NavStatus
public:
NavStatus AddTile(
	NavmeshTileData^ tileData, 
	unsigned int desiredTileRef, 
	[OutAttribute] unsigned int% resultTileRef
)

Parameters

tileData
NavmeshTileData
The tile data.
desiredTileRef
UInt32
The desired reference for the tile. (Or NullTile if the reference doesn't matter or is not known.)
resultTileRef
UInt32%
The actual reference assigned to the tile.

Return Value

The NavStatus flags for the operation.

See Also