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

Gets the reference for 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 uint GetTileRef(
	int x,
	int z,
	int layer
)
Public Function GetTileRef ( _
	x As Integer, _
	z As Integer, _
	layer As Integer _
) As UInteger
public:
unsigned int GetTileRef(
	int x, 
	int z, 
	int layer
)

Parameters

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

Return Value

The tile reference, or zero if there is no tile at the location.

See Also