Class LevelGridNode Extends GridNodeBase
Describes a single node for the LayerGridGraph.
Works almost the same as a grid node, except that it also stores to which layer the connections go to
Public Methods
Remove all connections from this node.
Closest point on the surface of this node to the point p.
Deserializes the node data from a byte array.
Which layer a grid connection goes to.
Calls the delegate with all connections from this node.
Hash code used for checking if the gizmos need to be updated.
Adjacent grid node in the specified direction.
Add a portal from this node to the specified node.
True if the node has a connection to an adjecent node in the specified direction.
Open the node.
Removes all grid connections from this node.
Serialized the node data to a byte array.
Set which layer a grid connection goes to.
Public Static Methods
Public Variables
Layer coordinate of the node in the grid.
Public Static Variables
Inherited Public Members
Add a connection from this node to the specified node.
Connected component that contains the node.
Remove all connections from this node.
Same as ClearConnections, but does not clear grid connections, only custom ones (e.g added by AddConnection or a NodeLink component)
Checks if this node has a connection to the specified node.
Used to deserialize references to other nodes e.g connections.
Destroys the node.
Holds various bitpacked variables.
Calls the delegate with all connections from this node.
Hash code used for checking if the gizmos need to be updated.
Graph which this node belongs to.
Graph which contains this node.
Max number of graphs-1.
Max number of tags - 1.
The index of the node in the grid.
Internal unique index.
Transforms a world space point to a normalized point on this node's surface.
Open the node.
Penalty cost for walking on this node.
A random point on the surface of the node.
Removes any connection from this node to the specified node.
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.
Node tag.
Temporary variable used internally when updating the graph.
Transforms a normalized point on this node's surface to a world space point.
True if the node is traversable.
Stores walkability before erosion is applied.
X coordinate of the node in the grid.
Z coordinate of the node in the grid.
Custon non-grid connections from this node.
Position of the node in world space.
Private/Protected Members
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.
Bitfield containing the x and z coordinates of the node as well as the layer (for layered grid graphs).
Deprecated Members
Is there a grid connection in that direction.