Class GraphUpdateObject

Public

Represents a collection of settings used to update nodes in a specific region of a graph.

Inner Types

Provides burst-readable data to a graph update job.

Job for applying a graph update object.

Public Methods

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
GraphUpdateObject ()
Public
GraphUpdateObject (b)

Creates a new GUO with the specified bounds.

Public
WillUpdateNode (node)

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

Public

Public Variables

addPenalty

Penalty to add to the nodes.

Public
bounds

The bounds to update nodes within.

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

Deprecated Members

RevertFromBackup ()

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

Public
trackChangedNodes

Track which nodes are changed and save backup data.

Public