Class GridGraphRule

Public

Custom rule for a grid graph.

Inner Types

Public Methods

DisposeUnmanagedData ()

Called when the rule is removed or the graph is destroyed.

Public
Register (rules)

Does preprocessing and adds callbacks to the #GridGraphRules object.

Public
SetDirty ()

Call if you have changed any setting of the rule.

Public

Public Static Methods

FilterNodeConnections< T > (bounds, nodeConnections, layeredDataLayout, filter)
Public Static
ForEachNode< T > (bounds, callback)
Public Static
GetNeighbourDataIndex (bounds, nodeConnections, layeredDataLayout, dataIndex, direction)

Returns the data index for a node's neighbour in the given direction.

Public Static

Public Variables

enabled

Only enabled rules are executed.

Public
Hash

Hash of the settings for this rule.

Public

Public Enums

Pass

Where in the scanning process a rule will be executed.

Public

Private/Protected Members

dirty
Private