Struct JobFilterDiagonalConnections Extends IJobParallelForBatched

Public

Filters out diagonal connections that are not allowed in layered grid graphs.

This is a IJobParallelForBatched job which is parallelelized over the z coordinate of the slice.

The JobCalculateGridConnections job will run first, and calculate the connections for all nodes. However, for layered grid graphs, the connections for diagonal nodes may be incorrect, and this post-processing pass is needed to validate the diagonal connections.

Public Methods

Execute (start, count)
Public

Public Variables

allowBoundsChecks
Public
cutCorners
Public
neighbours
Public
nodeConnections

All bitpacked node connections.

Public
slice
Public