A* Pathfinding Project
4.1.2
The A* Pathfinding Project for Unity 3D
|
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. | |
|
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 | ) |
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.
|
get |
Transforms coordinates from graph space to world space.