|
|
Vector3 | ClosestPoint (Vector3 p, Int3[] vertices) |
| |
|
int | GetVertexIndex (int i) |
| |
| void | AddConnection (Node node, int cost) |
| | Add a connection to the node with the specified cost.
|
| |
| void | BaseFloodFill (Stack< Node > stack, int area) |
| | Adds all connecting nodes to the stack and sets the area variable to area.
|
| |
|
int[] | BaseInitialOpen (BinaryHeapM open, Int3 targetPosition, Int3 position, Path path, bool doOpen) |
| |
| void | BaseOpen (NodeRunData nodeRunData, NodeRun nodeR, Int3 targetPosition, Path path) |
| | Opens the nodes connected to this node.
|
| |
| void | BaseResetCosts (int[] costs) |
| | Resets the costs modified by the InitialOpen function when 'doOpen' was false (for the end node).
|
| |
| virtual bool | ContainsConnection (Node node) |
| | Returns true if this node has a connection to the node.
|
| |
|
virtual void | FloodFill (Stack< Node > stack, int area) |
| | Adds all connecting nodes to the stack and sets the area variable to area.
|
| |
| virtual void | GetConnections (NodeDelegate callback) |
| | Get all connections for a node.
|
| |
| void | GetConnectionsBase (NodeDelegate callback) |
| | Get all connections for a node.
|
| |
| int | GetNodeIndex () |
| | Returns the global node index.
|
| |
|
virtual int[] | InitialOpen (BinaryHeapM open, Int3 targetPosition, Int3 position, Path path, bool doOpen) |
| |
|
virtual void | Open (NodeRunData nodeRunData, NodeRun nodeR, Int3 targetPosition, Path path) |
| |
| void | RecalculateConnectionCosts (bool neighbours) |
| | Recalculate costs for each connection.
|
| |
| virtual bool | RemoveConnection (Node node) |
| | Removes the connection to the node if it exists.
|
| |
| virtual void | ResetCosts (int[] costs) |
| | Resets the costs modified by the InitialOpen function when 'doOpen' was false (for the end node).
|
| |
|
void | SetNodeIndex (int index) |
| |
|
virtual void | UpdateAllG (NodeRun nodeR, NodeRunData nodeRunData) |
| |
| virtual void | UpdateConnections () |
| | Remove connections to unwalkable nodes.
|
| |
|
void | UpdateG (NodeRun nodeR, NodeRunData nodeRunData) |
| |
| void | UpdateH (Int3 targetPosition, Heuristic heuristic, float scale, NodeRun nodeR) |
| | Calculates and updates the H score.
|
| |
| virtual void | UpdateNeighbourConnections () |
| | Calls UpdateConnections on all neighbours.
|
| |