GKGraphNode.GetCost(GKGraphNode) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The real cost to traverse from this GKGraphNode to the directly-connected node node
.
[Foundation.Export("costToNode:")]
public virtual float GetCost (GameplayKit.GKGraphNode node);
abstract member GetCost : GameplayKit.GKGraphNode -> single
override this.GetCost : GameplayKit.GKGraphNode -> single
Parameters
- node
- GKGraphNode
A directly-connected GKGraphNode.
Returns
- Attributes