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
Add a connection from this node to the specified node.
True if the node has a connection to an adjecent node in the specified direction.
Public Static Methods
Public Variables
True if this node has any grid connections.
True if the node has grid connections to all its 4 axis-aligned neighbours.
True if the node has grid connections to all its 8 neighbours.
Layer coordinate of the node in the grid.
Public Static Variables
Maximum number of layers the layered grid graph supports.
Inherited Public Members
Connected component that contains the node.
Same as ClearConnections, but does not clear grid connections, only custom ones (e.g added by AddConnection or a NodeLink component)
The X and Z coordinates of the node in the grid.
The position of the path node during the search.
Holds various bitpacked variables.
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.
Penalty cost for walking on this node.
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.
How many path node variants should be created for each node.
Removes a connection from the internal grid connections, not the list of custom connections.
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).
Converts from dx + 3*dz to a neighbour direction.