A* Pathfinding Project
4.1.23
The A* Pathfinding Project for Unity 3D
|
GraphUpdateObject with more settings for the LayerGridGraph. More...
GraphUpdateObject with more settings for the LayerGridGraph.
Public Attributes | |
bool | preserveExistingNodes = true |
If true, nodes will be reused. More... | |
bool | recalculateNodes |
Recalculate nodes in the graph. More... | |
Public Attributes inherited from GraphUpdateObject | |
int | addPenalty |
Penalty to add to the nodes. More... | |
Bounds | bounds |
The bounds to update nodes within. More... | |
List< GraphNode > | changedNodes |
Nodes which were updated by this GraphUpdateObject. More... | |
bool | modifyTag |
If true, all nodes' tag will be set to setTag. More... | |
bool | modifyWalkability |
If true, all nodes' walkable variable will be set to setWalkability. More... | |
NNConstraint | nnConstraint = NNConstraint.None |
NNConstraint to use. More... | |
bool | resetPenaltyOnPhysics = true |
Reset penalties to their initial values when updating grid graphs and updatePhysics is true. More... | |
int | setTag |
If modifyTag is true, all nodes' tag will be set to this value. More... | |
bool | setWalkability |
If modifyWalkability is true, the nodes' walkable variable will be set to this value. More... | |
GraphUpdateShape | shape |
A shape can be specified if a bounds object does not give enough precision. More... | |
bool | trackChangedNodes |
Track which nodes are changed and save backup data. More... | |
bool | updateErosion = true |
Update Erosion for GridGraphs. More... | |
bool | updatePhysics = true |
Use physics checks to update nodes. More... | |
Additional Inherited Members | |
Public Member Functions inherited from GraphUpdateObject | |
GraphUpdateObject () | |
GraphUpdateObject (Bounds b) | |
Creates a new GUO with the specified bounds. More... | |
virtual void | Apply (GraphNode node) |
Updates the specified node using this GUO's settings. More... | |
virtual void | RevertFromBackup () |
Reverts penalties and flags (which includes walkability) on every node which was updated using this GUO. More... | |
virtual void | WillUpdateNode (GraphNode node) |
Should be called on every node which is updated with this GUO before it is updated. More... | |
Properties inherited from GraphUpdateObject | |
bool | requiresFloodFill [set] |
Controlls if a flood fill will be carried out after this GUO has been applied. More... | |
bool preserveExistingNodes = true |
If true, nodes will be reused.
This can be used to preserve e.g penalty values when recalculating
bool recalculateNodes |
Recalculate nodes in the graph.
Nodes might be created, moved or destroyed depending on how the world has changed.