A* Pathfinding Project
4.0.3
The A* Pathfinding Project for Unity 3D
|
Public Member Functions | |
GraphGizmoHelper () | |
void | DrawConnections (GraphNode node) |
void | DrawTriangles (Vector3[] vertices, Color[] colors, int numTriangles) |
void | DrawWireTriangle (Vector3 a, Vector3 b, Vector3 c, Color color) |
void | DrawWireTriangles (Vector3[] vertices, Color[] colors, int numTriangles) |
void | Init (AstarPath active, RetainedGizmos.Hasher hasher, RetainedGizmos gizmos) |
Color | NodeColor (GraphNode node) |
Color to use for gizmos. | |
void | OnEnterPool () |
void | Submit () |
![]() | |
void | OnEnterPool () |
Static Public Member Functions | |
static bool | InSearchTree (GraphNode node, PathHandler handler, ushort pathID) |
Returns if the node is in the search tree of the path. | |
Properties | |
RetainedGizmos.Builder | builder [get, set] |
RetainedGizmos.Hasher | hasher [get, set] |
Private Member Functions | |
void System.IDisposable. | Dispose () |
void | DrawConnection (GraphNode other) |
Private Attributes | |
PathHandler | debugData |
float | debugFloor |
GraphDebugMode | debugMode |
ushort | debugPathID |
float | debugRoof |
readonly System.Action< GraphNode > | drawConnection |
Color | drawConnectionColor |
Vector3 | drawConnectionStart |
Pathfinding.Util.RetainedGizmos | gizmos |
bool | showSearchTree |
GraphGizmoHelper | ( | ) |
|
private |
|
private |
void DrawConnections | ( | GraphNode | node | ) |
void DrawTriangles | ( | Vector3[] | vertices, |
Color[] | colors, | ||
int | numTriangles | ||
) |
void DrawWireTriangle | ( | Vector3 | a, |
Vector3 | b, | ||
Vector3 | c, | ||
Color | color | ||
) |
void DrawWireTriangles | ( | Vector3[] | vertices, |
Color[] | colors, | ||
int | numTriangles | ||
) |
void Init | ( | AstarPath | active, |
RetainedGizmos.Hasher | hasher, | ||
RetainedGizmos | gizmos | ||
) |
|
static |
Returns if the node is in the search tree of the path.
Only guaranteed to be correct if path is the latest path calculated. Use for gizmo drawing only.
Color NodeColor | ( | GraphNode | node | ) |
Color to use for gizmos.
Returns a color to be used for the specified node with the current debug settings (editor only).
void OnEnterPool | ( | ) |
void Submit | ( | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
getset |
|
getset |