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.
Used to deserialize references to other nodes e.g connections.
Calls the delegate with all connections 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.
A random point on the surface of the node.
Recalculates all connection costs from this node.
Used to serialize references to other nodes e.g connections.
The surface area of the node in square world units.
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 is traversable.
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.