GKGraphNode.GetCost(GKGraphNode) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
從這個 GKGraphNode 周遊到直接連線節點 node
的實際成本。
[Foundation.Export("costToNode:")]
public virtual float GetCost (GameplayKit.GKGraphNode node);
abstract member GetCost : GameplayKit.GKGraphNode -> single
override this.GetCost : GameplayKit.GKGraphNode -> single
參數
- node
- GKGraphNode
直接連接的 GKGraphNode 。
傳回
- 屬性