A* Pathfinding Project  4.3.5
The A* Pathfinding Project for Unity 3D
GridGraph.GridGraphScanData Struct Reference

Classes

struct  CopyBuffersJob
 

Public Member Functions

void AllocateBuffers ()
 
JobHandle AssignToNodes (GridNode[] nodes, Int2 nodeArrayBounds, IntRect writeMask, uint graphIndex, JobHandle nodesDependsOn)
 
void CalculateWalkabilityFromHeightData (bool useRaycastNormal, bool unwalkableWhenNoGround, float maxSlope)
 
void CollisionCheck (GraphCollision collision)
 
void ConnectionsAndErosion (float maxStepHeight, bool maxStepUsesSlope, NumNeighbours neighbours, bool cutCorners, bool use2D, int erodeIterations, IntRect erosionWriteMask)
 
void HeightCheck (GraphCollision collision)
 
GridGraphScanData ReadFromNodes (GridNode[] nodes, Int2 nodeArrayBounds, IntRect bounds, JobHandle nodesDependsOn)
 
void SetDefaultNodePositions (GraphTransform transform)
 
void SetDefaultPenalties (uint initialPenalty)
 

Public Attributes

Allocator allocationMethod
 
IntRect bounds
 
JobDependencyTracker dependencyTracker
 
NativeArray< int > nodeConnections
 
NativeArray< float4 > nodeNormals
 
NativeArray< uint > nodePenalties
 
NativeArray< Vector3 > nodePositions
 
NativeArray< bool > nodeWalkable
 
NativeArray< bool > nodeWalkableWithErosion
 
int numNodes
 
GraphTransform transform
 
Vector3 up
 

Member Function Documentation

◆ AllocateBuffers()

void AllocateBuffers ( )

◆ AssignToNodes()

JobHandle AssignToNodes ( GridNode []  nodes,
Int2  nodeArrayBounds,
IntRect  writeMask,
uint  graphIndex,
JobHandle  nodesDependsOn 
)

◆ CalculateWalkabilityFromHeightData()

void CalculateWalkabilityFromHeightData ( bool  useRaycastNormal,
bool  unwalkableWhenNoGround,
float  maxSlope 
)

◆ CollisionCheck()

void CollisionCheck ( GraphCollision  collision)

◆ ConnectionsAndErosion()

void ConnectionsAndErosion ( float  maxStepHeight,
bool  maxStepUsesSlope,
NumNeighbours  neighbours,
bool  cutCorners,
bool  use2D,
int  erodeIterations,
IntRect  erosionWriteMask 
)

◆ HeightCheck()

void HeightCheck ( GraphCollision  collision)

◆ ReadFromNodes()

GridGraphScanData ReadFromNodes ( GridNode []  nodes,
Int2  nodeArrayBounds,
IntRect  bounds,
JobHandle  nodesDependsOn 
)

◆ SetDefaultNodePositions()

void SetDefaultNodePositions ( GraphTransform  transform)

◆ SetDefaultPenalties()

void SetDefaultPenalties ( uint  initialPenalty)

Member Data Documentation

◆ allocationMethod

Allocator allocationMethod

◆ bounds

IntRect bounds

◆ dependencyTracker

JobDependencyTracker dependencyTracker

◆ nodeConnections

NativeArray<int> nodeConnections

◆ nodeNormals

NativeArray<float4> nodeNormals

◆ nodePenalties

NativeArray<uint> nodePenalties

◆ nodePositions

NativeArray<Vector3> nodePositions

◆ nodeWalkable

NativeArray<bool> nodeWalkable

◆ nodeWalkableWithErosion

NativeArray<bool> nodeWalkableWithErosion

◆ numNodes

int numNodes

◆ transform

GraphTransform transform

◆ up

Vector3 up

The documentation for this struct was generated from the following file: