Struct JobCalculateConnections 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
IsValidConnection
(nodeAPosition, nodeB, up)
Check if a connection to node B is valid.
Public
Public Variables
bounds
Public
cutCorners
Public
maxClimb
Public
neighbours
Public
neighbourXOffsets
Public
neighbourZOffsets
Public
nodePositions
Public
nodeWalkable
Public
outNodeConnections
Public
up
Public
use2D
Public