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

Path corridor data.

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

Members

         
 All Members  Constructors   Fields  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
PathCorridorData()()()()
Creates an object with buffers sized for use with interop method calls. (Maximum Path Size = MarshalBufferSize)
PathCorridorData(Int32)
Creates an object with a non-standard buffer size.
MarshalBufferSize
The required maximum path size required to use with interop method calls.
path
An ordered list of polygon references representing the corridor. [(polyRef) * pathCount]
pathCount
The number of polygons in the path.
position
The current position within the path corridor.
target
The target position within the path corridor.

Remarks

Used as a marshalling buffer for corridor data.

Certain methods that take objects of this type require a fixed buffer size equal to MarshalBufferSize. So be careful when initializing and using objects of this type.

Inheritance Hierarchy

System..::..Object
  org.critterai.nav..::..PathCorridorData

See Also