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

Provides debug visualizations for CrowdAgent objects.

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

Members

            
 All Members  Constructors   Fields   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
CrowdAgentDebug(Navmesh)
Constructor.
baseColor
The base color to use when drawing visualizations.
boundaryColor
The color to use when drawing corridor boundary visualizations.
desiredVelocityColor
The color to use when drawing the agent desired velocity.
DrawAll(CrowdAgent)
Draws all agent debug information.
DrawBase(CrowdAgent)
Draws the basic agent debug information.
DrawLocalBoundary(CrowdAgent)
Draws agent local boundary information.
DrawNeighbors(CrowdAgent)
Draws agent neighbor information.
neighborColor
The color to use when drawing neighbor visualizations.
velocityColor
The color to use when drawing the agent velocity.

Remarks

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

The design of this class minimizes impact on garbage collection.

Instances of this class are not thread-safe.

Inheritance Hierarchy

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

See Also