Function TraversalCosts.GetConnectionCost

GetConnectionCost (GraphNode from, GraphNode to)

Instantaneous cost for moving between from and to.

Public
uint GetConnectionCost (

GraphNode

from

GraphNode

to

)

Instantaneous cost for moving between from and to.

This cost is not scaled by the distance between the two nodes.

If traversalProvider is set, this call will be forwarded to it. Otherwise, the cost will be taken from tagEntryCosts.