Class GraphNode
Base class for all nodes.
Public Methods
Add a connection from this node to the specified node.
Remove all connections from this node.
Checks if this node has a connection to the specified node.
Deserializes the node data from a byte array.
Used to deserialize references to other nodes e.g connections.
Destroys the node.
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.
Removes any connection from this node to the specified node.
Serialized the node data to a byte array.
Used to serialize references to other nodes e.g connections.
Inform the system that the node's connectivity has changed.
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
Bitpacked field holding several pieces of data.
Mask of graph index bits.
Start of graph index bits.
Start of hierarchical node index bits.
Mask of tag bits.
Start of tag bits.
Mask of the walkable bit.
Position of the walkable bit.
Mask of hierarchical node index bits.
Hierarchical Node that contains this node.
Some internal bookkeeping.
Internal unique index.
Penalty cost for walking on this node.
Temporary flag for internal purposes.
Temporary flag for internal purposes.
Deprecated Members
Recalculates a node's connection costs.