|
| QuadtreeNode (AstarPath astar) |
|
override void | AddConnection (GraphNode node, uint cost) |
|
override void | ClearConnections (bool alsoReverse) |
| Remove all connections from this node.
|
|
override void | GetConnections (GraphNodeDelegate del) |
| Calls the delegate with all connections from this node.
|
|
override void | Open (Path path, PathNode pathNode, PathHandler handler) |
| Open the node.
|
|
override void | RemoveConnection (GraphNode node) |
|
void | SetPosition (Int3 value) |
|
virtual bool | ContainsConnection (GraphNode node) |
| Checks if this node has a connection to the specified node.
|
|
virtual void | DeserializeNode (GraphSerializationContext ctx) |
|
virtual void | DeserializeReferences (GraphSerializationContext ctx) |
| Used to deserialize references to other nodes e.g connections.
|
|
void | Destroy () |
| Destroys the node.
|
|
virtual void | FloodFill (Stack< GraphNode > stack, uint region) |
|
virtual bool | GetPortal (GraphNode other, List< Vector3 > left, List< Vector3 > right, bool backwards) |
| Add a portal from this node to the specified node.
|
|
virtual void | RecalculateConnectionCosts () |
| Recalculates all connection costs from this node.
|
|
virtual void | SerializeNode (GraphSerializationContext ctx) |
|
virtual void | SerializeReferences (GraphSerializationContext ctx) |
| Used to serialize references to other nodes e.g connections.
|
|
void | UpdateG (Path path, PathNode pathNode) |
|
virtual void | UpdateRecursiveG (Path path, PathNode pathNode, PathHandler handler) |
|
|
| GraphNode (AstarPath astar) |
| Constructor for a graph node.
|
|
uint | flags |
| Bitpacked field holding several pieces of data.
|
|
uint | Area [get, set] |
|
bool | Destroyed [get] |
|
uint | Flags [get, set] |
| Holds various bitpacked variables.
|
|
uint | GraphIndex [get, set] |
|
int | NodeIndex [get] |
| Internal unique index.
|
|
uint | Penalty [get, set] |
| Penalty cost for walking on this node.
|
|
uint | Tag [get, set] |
|
bool | Walkable [get, set] |
| True if the node is traversable.
|
|
override void AddConnection |
( |
GraphNode |
node, |
|
|
uint |
cost |
|
) |
| |
|
virtual |
override void ClearConnections |
( |
bool |
alsoReverse | ) |
|
|
virtual |
Remove all connections from this node.
- Parameters
-
alsoReverse | if true, neighbours will be requested to remove connections to this node. |
Implements GraphNode.
Calls the delegate with all connections from this node.
Implements GraphNode.
override void RemoveConnection |
( |
GraphNode |
node | ) |
|
|
virtual |
void SetPosition |
( |
Int3 |
value | ) |
|
The documentation for this class was generated from the following file:
- /Users/arong/Unity/a-pathfinding-project/Assets/AstarPathfindingProject/Generators/QuadtreeGraph.cs