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
Public
dependencyTracker
Public
heightHits

Raycasts hits used for height testing.

Public
layeredDataLayout

True if the data may have multiple layers.

Public
layers
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
Public