A* Pathfinding Project  4.0.5
The A* Pathfinding Project for Unity 3D
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Events Macros Groups Pages
NavmeshTile Class Reference

Public Member Functions

void GetNodes (System.Action< GraphNode > action)
 
void GetTileCoordinates (int tileIndex, out int x, out int z)
 
Int3 GetVertex (int index)
 Get a specific vertex in the tile.
 
int GetVertexArrayIndex (int index)
 
Int3 GetVertexInGraphSpace (int index)
 
- Public Member Functions inherited from INavmeshHolder
void GetTileCoordinates (int tileIndex, out int x, out int z)
 
Int3 GetVertex (int i)
 
int GetVertexArrayIndex (int index)
 
Int3 GetVertexInGraphSpace (int i)
 
- Public Member Functions inherited from INavmesh
void GetNodes (System.Action< GraphNode > del)
 

Public Attributes

BBTree bbTree
 Bounding Box Tree for node lookups.
 
int d
 Depth, in tile coordinates.
 
bool flag
 Temporary flag used for batching.
 
TriangleMeshNode[] nodes
 All nodes in the tile.
 
int[] tris
 Tile triangles.
 
Int3[] verts
 Tile vertices.
 
Int3[] vertsInGraphSpace
 Tile vertices in graph space.
 
int w
 Width, in tile coordinates.
 
int x
 Tile X Coordinate.
 
int z
 Tile Z Coordinate.
 

Package Functions

void Destroy ()
 

Member Function Documentation

void Destroy ( )
package
void GetNodes ( System.Action< GraphNode action)
void GetTileCoordinates ( int  tileIndex,
out int  x,
out int  z 
)
Int3 GetVertex ( int  index)

Get a specific vertex in the tile.

int GetVertexArrayIndex ( int  index)
Int3 GetVertexInGraphSpace ( int  index)

Member Data Documentation

BBTree bbTree

Bounding Box Tree for node lookups.

int d

Depth, in tile coordinates.

Warning
Depths other than 1 are not supported. This is mainly here for possible future features.
bool flag

Temporary flag used for batching.

TriangleMeshNode [] nodes

All nodes in the tile.

int [] tris

Tile triangles.

Int3 [] verts

Tile vertices.

Int3 [] vertsInGraphSpace

Tile vertices in graph space.

int w

Width, in tile coordinates.

Warning
Widths other than 1 are not supported. This is mainly here for possible future features.
int x

Tile X Coordinate.

int z

Tile Z Coordinate.


The documentation for this class was generated from the following file: