A* Pathfinding Project  4.3.3
The A* Pathfinding Project for Unity 3D
NavmeshTile Class Reference

Public Member Functions

void GetNodes (System.Action< GraphNode > action)
 
void GetTileCoordinates (int tileIndex, out int x, out int z)
 Transforms coordinates from graph space to world space. More...
 
Int3 GetVertex (int index)
 Get a specific vertex in the tile. More...
 
int GetVertexArrayIndex (int index)
 
Int3 GetVertexInGraphSpace (int index)
 Position of vertex number i in coordinates local to the graph. More...
 

Public Attributes

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

Properties

GraphTransform transform [get]
 Transforms coordinates from graph space to world space. More...
 
- Properties inherited from ITransformedGraph
GraphTransform transform [get]
 

Member Function Documentation

◆ GetNodes()

void GetNodes ( System.Action< GraphNode action)

Implements INavmesh.

◆ GetTileCoordinates()

void GetTileCoordinates ( int  tileIndex,
out int  x,
out int  z 
)

Transforms coordinates from graph space to world space.

Implements INavmeshHolder.

◆ GetVertex()

Int3 GetVertex ( int  index)

Get a specific vertex in the tile.

Implements INavmeshHolder.

◆ GetVertexArrayIndex()

int GetVertexArrayIndex ( int  index)

Implements INavmeshHolder.

◆ GetVertexInGraphSpace()

Int3 GetVertexInGraphSpace ( int  i)

Position of vertex number i in coordinates local to the graph.

The up direction is always the +Y axis for these coordinates.

Implements INavmeshHolder.

Member Data Documentation

◆ bbTree

BBTree bbTree

Bounding Box Tree for node lookups.

◆ d

int d

Depth, in tile coordinates.

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

◆ flag

bool flag

Temporary flag used for batching.

◆ graph

NavmeshBase graph

◆ nodes

TriangleMeshNode [] nodes

All nodes in the tile.

◆ tris

int [] tris

Tile triangles.

◆ verts

Int3 [] verts

Tile vertices.

◆ vertsInGraphSpace

Int3 [] vertsInGraphSpace

Tile vertices in graph space.

◆ w

int w

Width, in tile coordinates.

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

◆ x

int x

Tile X Coordinate.

◆ z

int z

Tile Z Coordinate.

Property Documentation

◆ transform

GraphTransform transform
get

Transforms coordinates from graph space to world space.


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