Class GraphNode
Base class for all nodes.
Public Methods
Remove all connections from this node.
Checks if this node has a connection to the specified node.
Deserializes node data (for example when loading graphs from file).
Used to deserialize references to other nodes e.g connections.
Internal method to run a flood fill in order to recalculate the Area property.
Calls the delegate with all connections from this node.
Calls the delegate with all connections and respective costs from this node.
Hash code used for checking if the gizmos need to be updated.
Add a portal from this node to the specified node.
Open the node.
Open the node cooperatively.
A random point on the surface of the node.
Recalculates all connection costs from this node.
Serializes node data (for example when saving graphs to file).
Used to serialize references to other nodes e.g connections.
The surface area of the node in square world units.
Internal method to update the G score.
Public Variables
Connected component that contains the node.
Holds various bitpacked variables.
Graph which this node belongs to.
Graph which contains this node.
Max number of graphs-1.
Internal unique index.
Penalty cost for walking on this node.
Position of the node in world space.
Node tag.
True if the node can be traversed.
Private/Protected Members
Destroys the node.
Bitpacked field holding several pieces of data.
Mask of area bits.
Start of area bits.
Mask of graph index bits.
Start of graph index bits.
Mask of tag bits.
Start of tag bits.
Mask of the walkable bit.
Position of the walkable bit.
Constructor for a graph node.
Internal unique index.
Penalty cost for walking on this node.
Temporary flag for internal purposes.
Temporary flag for internal purposes.