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

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