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

Provides methods useful for debugging navigation.

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 class NavDebug
Public NotInheritable Class NavDebug
public ref class NavDebug abstract sealed

Members

         
 All Members  Fields   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
cornerColor
The color to use when drawing corner visualizations.
cornerScale
The scale to use for corner markers.
Draw(CornerData)
Draws a debug visualization of corner data.
Draw(Navmesh, NavmeshQuery)
Draws a debug visualization of the navigation mesh with the closed nodes highlighted.
Draw(Navmesh, PathCorridorData)
Draws a debug visualization of a corridor.
Draw(Navmesh, Boolean)
Draws a debug visualization of the navigation mesh.
Draw(Navmesh, array<UInt32>[]()[][], Int32)
Draws a debug visualization of the navigation mesh with the specified polygons highlighted.
Draw(Navmesh, Int32, Int32, Int32, Boolean)
Draws a debug visualization of the specified navigation mesh tile.
GetCentroids(Navmesh, array<UInt32>[]()[][], Int32, array<Vector3>[]()[][])
Returns the 3D centroids of the provided navigation mesh polygons.
goalColor
The base color to use when drawing goal visualizations.
goalScale
The scale to use for goal markers.
polygonOverlayColor
The color to use for drawing visualizations that overlay polygons.
positionColor
The color to use when drawing position visualizations.
positionScale
The scale to use for position markers.
surfaceAlpha
The alpha to use for surface fill.

Remarks

All draw methods use GL, so they should generally be called from within the OnRenderObject() method.

Inheritance Hierarchy

System..::..Object
  org.critterai.nav.u3d..::..NavDebug

See Also