A* Pathfinding Project  4.1.3
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)
 Transforms coordinates from graph space to world space.
 
Int3 GetVertex (int i)
 Position of vertex number i in the world.
 
int GetVertexArrayIndex (int index)
 
Int3 GetVertexInGraphSpace (int i)
 Position of vertex number i in coordinates local to the graph.
 
- 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.
 
NavmeshBase graph
 
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 ()
 

Properties

GraphTransform transform [get]
 Transforms coordinates from graph space to world space.
 

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.

NavmeshBase graph
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.

Property Documentation

GraphTransform transform
get

Transforms coordinates from graph space to world space.


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