atavism.server.pathing.detour
Class MeshTile
java.lang.Object
atavism.server.pathing.detour.MeshTile
public class MeshTile
- extends java.lang.Object
Defines a navigation mesh tile.
Tiles generally only exist within the context of a dtNavMesh object.
Some tile content is optional. For example, a tile may not contain any
off-mesh connections. In this case the associated pointer will be null.
If a detail mesh exists it will share vertices with the base polygon mesh.
Only the vertices unique to the detail mesh will be stored in detailVerts.
Warning: Tiles returned by a NavMesh object are not guaranteed to be
populated. For example: The tile at a location might not have been loaded
yet, or may have been removed. In this case, pointers will be null. So if in
doubt, check the polygon count in the tile's header to determine if a tile
has polygons defined.
- See Also:
NavMesh
Method Summary |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Salt
public long Salt
LinksFreeList
public long LinksFreeList
Header
public MeshHeader Header
Polys
public Poly[] Polys
Verts
public float[] Verts
Links
public Link[] Links
DetailMeshes
public PolyDetail[] DetailMeshes
DetailVerts
public float[] DetailVerts
DetailTris
public short[] DetailTris
BVTree
public BVNode[] BVTree
OffMeshCons
public OffMeshConnection[] OffMeshCons
Data
public NavMeshBuilder Data
Flags
public int Flags
Next
public MeshTile Next
MeshTile
public MeshTile()
MeshTile
public MeshTile(long Salt,
MeshTile Next)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object