NavmeshTile Class

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

A tile within a Navmesh

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

Members

         
 All Members  Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
GetBasePolyRef()()()()
Gets the reference of the base polygon in the tile.
GetBVTree(array<NavmeshBVNode>[]()[][])
Gets a copy of the NavmeshBVNode tree.
GetConnections(array<NavmeshConnection>[]()[][])
Gets a copy of the off-mesh connection buffer.
GetDetailMeshes(array<NavmeshDetailMesh>[]()[][])
Gets a copy of the detail mesh buffer buffer.
GetDetailTris(array<Byte>[]()[][])
Gets a copy of the detail triangle buffer.
GetDetailVerts(array<Vector3>[]()[][])
Gets a copy of the detailed vertex buffer.
GetHeader()()()()
Gets the tile header.
GetLinks(array<NavmeshLink>[]()[][])
Gets a copy of the link buffer.
GetPolyRef(UInt32, Int32)
Gets the reference of the polygon based on its polygon index within a tile.
GetPolys(array<NavmeshPoly>[]()[][])
Gets a copy of the polygon buffer.
GetState(array<Byte>[]()[][])
Gets the non-structural state of the tile. (Flags, areas, etc.)
GetStateSize()()()()
Gets the size of the buffer required by the GetState(array<Byte>[]()[][]) method.
GetTileRef()()()()
The reference of the tile.
GetVerts(array<Vector3>[]()[][])
Gets a copy of the vertex buffer.
IsDisposed
True if the object has been disposed and should no longer be used.
SetState(array<Byte>[]()[][])
Sets the non-structural state defined by the state data. (Obtained from the GetState(array<Byte>[]()[][]) method.)

Remarks

Tiles always exist within the context of a Navmesh object.

Tiles returned by a Navmesh are not guarenteed to be populated. (The tile at a location may have been removed.) Check the polygon count in the NavmeshTileHeader to determine if a tile is active.

Inheritance Hierarchy

System..::..Object
  org.critterai.nav..::..NavmeshTile

See Also