Struct JobAllocateNodes Extends IJob

Public

Allocates and deallocates nodes in a grid graph.

This will inspect every cell in the dataBounds and allocate or deallocate the node depending on if that slot should have a node or not according to the nodeNormals array (pure zeroes means no node).

This is only used for incremental updates of grid graphs. The initial layer of the grid graph (which is always filled with nodes) is allocated in the GridGraph.AllocateNodesJob method.

Public Methods

Execute ()
Public

Public Variables

active
Public
dataBounds
Public
newGridNodeDelegate
Public
nodeArrayBounds
Public
nodeNormals
Public
nodes
Public