A* Pathfinding Project  4.3.2
The A* Pathfinding Project for Unity 3D
JobErosion Struct Reference

Calculates the grid connections for a single node. More...

Detailed Description

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 also
CalculateConnections(GridNodeBase)

Public Member Functions

void Execute ()
 

Public Attributes

IntRect bounds
 
int erosion
 
NumNeighbours neighbours
 
NativeArray< int > neighbourXOffsets
 
NativeArray< int > neighbourZOffsets
 
NativeArray< int > nodeConnections
 
NativeArray< bool > nodeWalkable
 
NativeArray< bool > outNodeWalkable
 

Member Function Documentation

◆ Execute()

void Execute ( )

Member Data Documentation

◆ bounds

IntRect bounds

◆ erosion

int erosion

◆ neighbours

NumNeighbours neighbours

◆ neighbourXOffsets

NativeArray<int> neighbourXOffsets

◆ neighbourZOffsets

NativeArray<int> neighbourZOffsets

◆ nodeConnections

NativeArray<int> nodeConnections

◆ nodeWalkable

NativeArray<bool> nodeWalkable

◆ outNodeWalkable

NativeArray<bool> outNodeWalkable

The documentation for this struct was generated from the following file: