Class GlobalNodeStorage

Package

Inner Types

Public Methods

AllocateNodesJob<T> (result, count, createNode, variantsPerNode)
Public
DestroyNode (node)

Destroyes the given node.

Public
GetNode (nodeIndex)
Public
GlobalNodeStorage (astar)
Public
InitializeNode (node)

Initializes temporary path data for a node.

Public
OnDisable ()
Public
SetThreadCount (threadCount)
Public

Public Variables

nextNodeIndex

Holds the next node index which has not been used by any previous node.

Public
pathfindingThreadData
Public

Public Static Variables

MaxTemporaryNodes
Public Static

Private/Protected Members

DisposeThreadData ()
Private
ReserveNodeIndices (nextNodeIndex)
Private
astar
Private
lastAllocationJob
Private
nodeIndexPools

Holds indices for nodes that have been destroyed.

Private Readonly
nodes

Maps from NodeIndex to node.

Private
reservedPathNodeData

The number of nodes for which path node data has been reserved.

Private