GKObstacleGraph.ConnectNodeUsingObstacles Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
ConnectNodeUsingObstacles(GKGraphNode2D) |
Fügt den Knoten dem hinzu GKGraph, verbindet ihn mit seinen nächsten Nachbarn, wodurch vermieden wird Obstacles. |
ConnectNodeUsingObstacles(GKGraphNode2D, GKPolygonObstacle[]) |
Fügt den Knoten zu hinzuGKGraph, um ihn mit seinen nächsten Nachbarn zu verbinden, wobei außer denen in |
ConnectNodeUsingObstacles(GKGraphNode2D)
[Foundation.Export("connectNodeUsingObstacles:")]
public virtual void ConnectNodeUsingObstacles (GameplayKit.GKGraphNode2D node);
abstract member ConnectNodeUsingObstacles : GameplayKit.GKGraphNode2D -> unit
override this.ConnectNodeUsingObstacles : GameplayKit.GKGraphNode2D -> unit
Parameter
- node
- GKGraphNode2D
- Attribute
Gilt für:
ConnectNodeUsingObstacles(GKGraphNode2D, GKPolygonObstacle[])
[Foundation.Export("connectNodeUsingObstacles:ignoringObstacles:")]
public virtual void ConnectNodeUsingObstacles (GameplayKit.GKGraphNode2D node, GameplayKit.GKPolygonObstacle[] obstaclesToIgnore);
abstract member ConnectNodeUsingObstacles : GameplayKit.GKGraphNode2D * GameplayKit.GKPolygonObstacle[] -> unit
override this.ConnectNodeUsingObstacles : GameplayKit.GKGraphNode2D * GameplayKit.GKPolygonObstacle[] -> unit
Parameter
- node
- GKGraphNode2D
- obstaclesToIgnore
- GKPolygonObstacle[]
- Attribute