Struct GridGraphScanData

Public

Inner Types

Public Methods

AllocateBuffers ()
Public
AssignToNodes (nodes, nodeArrayBounds, writeMask, graphIndex, nodesDependsOn, nodeSurfaceNormals)
Public
CalculateWalkabilityFromHeightData (useRaycastNormal, unwalkableWhenNoGround, maxSlope, characterHeight)
Public
CollisionCheck (collision)
Public
Connections (maxStepHeight, maxStepUsesSlope, neighbours, cutCorners, use2D, useErodedWalkability, characterHeight)
Public
CopyHits ()
Public
Erosion (neighbours, erodeIterations, erosionWriteMask, erosionUsesTags, erosionStartTag)
Public
HeightCheck (collision, maxHits, outLayerCount, characterHeight)
Public
ReadFromNodes (nodes, nodeArrayBounds, readBounds, nodesDependsOn, graphNodeNormals)
Public
ReadFromNodesAndCopy (nodes, nodeArrayBounds, readBounds, nodesDependsOn, 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