Function TraversalProvider.GetTraversalCost

GetTraversalCost (Path path, GraphNode node)

Cost of traversing a given node.

Public
uint GetTraversalCost (

Path

path

GraphNode

node

)

Cost of traversing a given node.

Should return the additional cost for traversing this node. By default if no tags or penalties are used then the traversal cost is zero. A cost of 1000 corresponds roughly to the cost of moving 1 world unit.