Class LayerGridGraphUpdate Extends GraphUpdateObject

Public

GraphUpdateObject with more settings for the LayerGridGraph.

Public Variables

preserveExistingNodes

If true, nodes will be reused.

Public
recalculateNodes

Recalculate nodes in the graph.

Public

Inherited Public Members

addPenalty

Penalty to add to the nodes.

Public
Apply (node)

Updates the specified node using this GUO's settings.

Public
bounds

The bounds to update nodes within.

Public
changedNodes

Nodes which were updated by this GraphUpdateObject.

Public
modifyTag

If true, all nodes' tag will be set to setTag.

Public
modifyWalkability

If true, all nodes' walkable variable will be set to setWalkability.

Public
nnConstraint

NNConstraint to use.

Public
resetPenaltyOnPhysics

Reset penalties to their initial values when updating grid graphs and updatePhysics is true.

Public
RevertFromBackup ()

Reverts penalties and flags (which includes walkability) on every node which was updated using this GUO.

Public
setTag

If modifyTag is true, all nodes' tag will be set to this value.

Public
setWalkability

If modifyWalkability is true, the nodes' walkable variable will be set to this value.

Public
shape

A shape can be specified if a bounds object does not give enough precision.

Public
trackChangedNodes

Track which nodes are changed and save backup data.

Public
updateErosion

Update Erosion for GridGraphs.

Public
updatePhysics

Use physics checks to update nodes.

Public
WillUpdateNode (node)

Should be called on every node which is updated with this GUO before it is updated.

Public