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

Apply (node)

Updates the specified node using this GUO's settings.

Public
ApplyJob (data, dependencyTracker)

Update a set of nodes using this GUO's settings.

Public
RevertFromBackup ()

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

Public
WillUpdateNode (node)

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

Public
addPenalty

Penalty to add to the nodes.

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
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
stage

Info about if a graph update has been applied or not.

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

Private/Protected Members

STAGE_ABORTED
Internal Static
STAGE_APPLIED
Internal Static
STAGE_CREATED
Internal Static
STAGE_PENDING
Internal Static
internalStage

Info about if a graph update has been applied or not.

Internal