Class RuleTexture Extends GridGraphRule
Public
Modifies nodes based on the contents of a texture.
This can be used to "paint" penalties or walkability using an external program such as Photoshop.
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
Public Variables
channels
Public
channelScales
Public
nodesPerPixel
Public
scalingMode
Public
texture
Public
Public Enums
ChannelUse
Public
ScalingMode
Public
Inherited Public Members
enabled
Only enabled rules are executed.
Public
FilterNodeConnections< T >
(bounds, nodeConnections, filter)
Public
Static
ForEachNode< T >
(bounds, callback)
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
colors
Private