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

Gets all tiles at the specified grid location. (All layers.)

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 GetTiles(
	int x,
	int z,
	NavmeshTile[] buffer
)
Public Function GetTiles ( _
	x As Integer, _
	z As Integer, _
	buffer As NavmeshTile() _
) As Integer
public:
int GetTiles(
	int x, 
	int z, 
	array<NavmeshTile^>^ buffer
)

Parameters

x
Int32
The tile grid x-location.
z
Int32
The tile grid z-location.
buffer
array<NavmeshTile>[]()[][]
The result tiles.

Return Value

The number of tiles returned in the buffer.

Remarks

Some tiles in the result may be empty. (Zero polygon count.)

See Also