Struct GridGraphScanData

Public

Public Methods

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

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

Bounds for the heightHits array.

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, in world space.

Public

Deprecated Members

bounds

Bounds of the data arrays.

Public
layeredDataLayout

True if the data may have multiple layers.

Public
nodeConnections

Node connections.

Public
nodeNormals

Node normals.

Public
nodePenalties

Node penalties.

Public
nodePositions

Node positions.

Public
nodeTags

Node tags.

Public
nodeWalkable

Node walkability.

Public
nodeWalkableWithErosion

Node walkability with erosion.

Public