Struct JobErosion Extends IJob
Public
Calculates the grid connections for a single node.
Note that to ensure that connections are completely up to date after updating a node you have to calculate the connections for both the changed node and its neighbours.
In a layered grid graph, this will recalculate the connections for all nodes in the (x,z) cell (it may have multiple layers of nodes).
See
CalculateConnections(GridNodeBase)
Public Methods
Execute
()
Public
Public Variables
bounds
Public
erosion
Public
neighbours
Public
nodeConnections
Public
nodeWalkable
Public
outNodeWalkable
Public
writeMask
Public
Public Static Variables
hexagonNeighbourIndices
Public
Static
Readonly