A* Pathfinding Project
4.1.9
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) |
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] |
void GetTileCoordinates | ( | int | tileIndex, |
out int | x, | ||
out int | z | ||
) |
Transforms coordinates from graph space to world space.
Implements INavmeshHolder.
Int3 GetVertex | ( | int | index | ) |
Get a specific vertex in the tile.
Implements INavmeshHolder.
int GetVertexArrayIndex | ( | int | index | ) |
Implements INavmeshHolder.
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.
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.