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.
Closest point on the surface of this node to the point p.
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.
Internal unique index.
Penalty cost for walking on this node.
Node tag.
True if the node is traversable.
Position of the node in world space.
Public Static Variables
Max number of graphs-1.
Max number of tags - 1.
Private/Protected Members
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.
Temporary flag for internal purposes.
Temporary flag for internal purposes.
Bitpacked field holding several pieces of data.
Internal unique index.
Penalty cost for walking on this node.
Deprecated Members
Recalculates a node's connection costs.