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

Draws a debug visualization of the specified navigation mesh tile.

Namespace: org.critterai.nav.u3d
Assembly: cai-nav-u3d (in cai-nav-u3d.dll) Version: 0.4.0.0 (0.4.0.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public static void Draw(
	Navmesh mesh,
	int tx,
	int tz,
	int layer,
	bool colorByArea
)
Public Shared Sub Draw ( _
	mesh As Navmesh, _
	tx As Integer, _
	tz As Integer, _
	layer As Integer, _
	colorByArea As Boolean _
)
public:
static void Draw(
	Navmesh^ mesh, 
	int tx, 
	int tz, 
	int layer, 
	bool colorByArea
)

Parameters

mesh
Navmesh
The mesh.
tx
Int32
The tile grid x-location.
tz
Int32
The tile grid z-location.
layer
Int32
The tile layer.
colorByArea
Boolean
If true, will be colored by polygon area. If false, will be colored by tile index.

Remarks

This method is safe to call on empty tile locations.

See Also