Struct GridGraphScanData

Public

Inner Types

Public Methods

AllocateBuffers ()
Public
AssignNodeConnections (nodes, nodeArrayBounds, writeBounds)
Public
AssignToNodes (nodes, nodeArrayBounds, writeMask, graphIndex, nodesDependsOn, nodeSurfaceNormals)
Public
CalculateWalkabilityFromHeightData (useRaycastNormal, unwalkableWhenNoGround, maxSlope, characterHeight)
Public
CollisionCheck (collision)
Public
Connections (maxStepHeight, maxStepUsesSlope, calculationBounds, neighbours, cutCorners, use2D, useErodedWalkability, characterHeight)
Public
CopyHits ()
Public
Erosion (neighbours, erodeIterations, erosionWriteMask, erosionUsesTags, erosionStartTag, erosionTagsPrecedenceMask)
Public
HeightCheck (collision, maxHits, outLayerCount, characterHeight)
Public
ReadFromNodes (nodes, nodeArrayBounds, readBounds, nodesDependsOn, graphNodeNormals)
Public
ReadFromNodesAndCopy (nodes, nodeArrayBounds, readBounds, nodesDependsOn, graphNodeNormals, copyPenaltyAndTags)
Public
ReadFromNodesForConnectionCalculations (nodes, nodeArrayBounds, readBounds, nodesDependsOn, graphNodeNormals)
Public
ReadNodeNormals (nodeArrayBounds, readBounds, graphNodeNormals)
Public
SetDefaultNodePositions (transform)
Public
SetDefaultPenalties (initialPenalty)
Public

Public Variables

allocationMethod
Public
bounds

Bounds for the part of the graph that is being updated.

Public
dependencyTracker

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

Public
heightHits

Raycasts hits used for height testing.

Public
layeredDataLayout

True if the data may have multiple layers.

Public
layers

Number of layers that the data contains.

Public
nodeConnections

Bitpacked connections of all nodes.

Public
nodeNormals

Normals of all nodes.

Public
nodePenalties

Bitpacked connections of all nodes.

Public
nodePositions

Positions of all nodes.

Public
nodeTags

Tags of all nodes.

Public
nodeWalkable

Walkability of all nodes before erosion happens.

Public
nodeWalkableWithErosion

Walkability of all nodes after erosion happens.

Public
numNodes
Public
transform

Transforms graph-space to world space.

Public
up

The up direction of the graph.

Public