Struct GridGraphScanData

Public

Public Methods

AssignNodeConnections (nodes, nodeArrayBounds, writeBounds)
Public
CalculateWalkabilityFromHeightData (useRaycastNormal, unwalkableWhenNoGround, maxSlope, characterHeight)
Public
CollisionCheck (collision, calculationBounds)
Public
Connections (maxStepHeight, maxStepUsesSlope, calculationBounds, neighbours, cutCorners, use2D, useErodedWalkability, characterHeight)
Public
CopyHits (recalculationBounds)
Public
Erosion (neighbours, erodeIterations, erosionWriteMask, erosionUsesTags, erosionStartTag, erosionTagsPrecedenceMask)
Public
HeightCheck (collision, maxHits, recalculationBounds, outLayerCount, characterHeight, allocator)
Public
SetDefaultNodePositions (transform)
Public
SetDefaultPenalties (initialPenalty)
Public

Public Variables

dependencyTracker

Tracks dependencies between jobs to allow parallelism without tediously specifying dependencies manually.

Public
heightHits

Raycasts hits used for height testing.

Public
heightHitsBounds
Public
nodeConnections
Public
nodeNormals
Public
nodePenalties
Public
nodePositions
Public
nodeTags
Public
nodeWalkable
Public
nodeWalkableWithErosion
Public
nodes

Data for all nodes in the graph update that is being calculated.

Public
transform

Transforms graph-space to world space.

Public
up

The up direction of the graph.

Public