A* Pathfinding Project  4.1.12
The A* Pathfinding Project for Unity 3D
INavmeshHolder Interface Reference

Interface for something that holds a triangle based navmesh. More...

Detailed Description

Interface for something that holds a triangle based navmesh.

Public Member Functions

void GetTileCoordinates (int tileIndex, out int x, out int z)
 Transforms coordinates from graph space to world space. More...
 
Int3 GetVertex (int i)
 Position of vertex number i in the world. More...
 
int GetVertexArrayIndex (int index)
 
Int3 GetVertexInGraphSpace (int i)
 Position of vertex number i in coordinates local to the graph. More...
 
- Public Member Functions inherited from INavmesh
void GetNodes (System.Action< GraphNode > del)
 

Additional Inherited Members

- Properties inherited from ITransformedGraph
GraphTransform transform [get]
 

Member Function Documentation

◆ GetTileCoordinates()

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

Transforms coordinates from graph space to world space.

Implemented in NavmeshBase, and NavmeshTile.

◆ GetVertex()

Int3 GetVertex ( int  i)

Position of vertex number i in the world.

Implemented in NavmeshBase, and NavmeshTile.

◆ GetVertexArrayIndex()

int GetVertexArrayIndex ( int  index)

Implemented in NavmeshBase, and NavmeshTile.

◆ 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.

Implemented in NavmeshBase, and NavmeshTile.


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