A* Pathfinding Project
4.2.0
The A* Pathfinding Project for Unity 3D
|
Interface for something that holds a triangle based navmesh. More...
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] |
void GetTileCoordinates | ( | int | tileIndex, |
out int | x, | ||
out int | z | ||
) |
Transforms coordinates from graph space to world space.
Implemented in NavmeshBase, and NavmeshTile.
Int3 GetVertex | ( | int | i | ) |
Position of vertex number i in the world.
Implemented in NavmeshBase, and NavmeshTile.
int GetVertexArrayIndex | ( | int | index | ) |
Implemented in NavmeshBase, and NavmeshTile.
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.