GKGraphNode.GetCost(GKGraphNode) Method

Definition

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

Applies to