Atavism Version 2018.1AGIS API

atavism.server.pathing.detour
Class MeshTile

java.lang.Object
  extended by 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

Field Summary
 BVNode[] BVTree
           
 NavMeshBuilder Data
           
 PolyDetail[] DetailMeshes
           
 short[] DetailTris
           
 float[] DetailVerts
           
 int Flags
           
 MeshHeader Header
           
 Link[] Links
           
 long LinksFreeList
           
 MeshTile Next
           
 OffMeshConnection[] OffMeshCons
           
 Poly[] Polys
           
 long Salt
           
 float[] Verts
           
 
Constructor Summary
MeshTile()
           
MeshTile(long Salt, MeshTile Next)
           
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

MeshTile

public MeshTile()

MeshTile

public MeshTile(long Salt,
                MeshTile Next)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2018 Dragonsan Studios Sp. z o.o.