Class RulePerLayerModifications Extends GridGraphRule

Public

Modifies nodes based on the layer of the surface under the node.

You can for example make all surfaces with a specific layer make the nodes get a specific tag.

Inner Types

Public Methods

Register (rules)

Does preprocessing and adds callbacks to the #GridGraphRules object.

Public

Public Variables

layerRules
Public

Public Enums

RuleAction
Public

Inherited Public Members

DisposeUnmanagedData ()

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

Public
enabled

Only enabled rules are executed.

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

Hash of the settings for this rule.

Public
Pass

Where in the scanning process a rule will be executed.

Public
SetDirty ()

Call if you have changed any setting of the rule.

Public

Private/Protected Members

SetTagBit
Private