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

Gets the tile at the specified grid location.

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 NavmeshTile GetTile(
	int x,
	int z,
	int layer
)
Public Function GetTile ( _
	x As Integer, _
	z As Integer, _
	layer As Integer _
) As NavmeshTile
public:
NavmeshTile^ GetTile(
	int x, 
	int z, 
	int layer
)

Parameters

x
Int32
The tile grid x-location.
z
Int32
The tile grid z-location.
layer
Int32
The tile layer.

Return Value

The tile at the specified grid location. (May be empty.)

See Also