Struct JobCalculateGridConnections Extends IJobParallelForBatched
Public
Calculates the grid connections for all nodes.
This is a IJobParallelForBatch job. Calculating the connections in multiple threads is faster, but due to hyperthreading (used on most intel processors) the individual threads will become slower. It is still worth it though.
Public Methods
Public Static Methods
ConnectionYRange
(nodePositions, nodeNormals, normalToHeightOffset, nodeIndex, layerStride, y, maxY, dir, up, reverse)
Public Variables
allowBoundsChecks
Public
arrayBounds
Public
bounds
Public
characterHeight
Public
cutCorners
Public
graphToWorld
Public
layeredDataLayout
Public
maxStepHeight
Public
maxStepUsesSlope
Public
neighbours
Public
nodeConnections
All bitpacked node connections.
Public
nodeNormals
Public
nodePositions
Public
nodeWalkable
Public
use2D
Public