Struct JobErosion Extends IJob

Public

Calculates erosion.

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
erosionStartTag
Public
erosionUsesTags
Public
neighbours
Public
nodeConnections
Public
nodeTags
Public
nodeWalkable
Public
outNodeWalkable
Public
writeMask
Public

Public Static Variables

hexagonNeighbourIndices
Public Static Readonly