Upravit

Sdílet prostřednictvím


GKObstacleGraph.ConnectNodeUsingObstacles Method

Definition

Overloads

ConnectNodeUsingObstacles(GKGraphNode2D)

Adds the node to the GKGraph, connecting it to its nearest neighbors, avoiding Obstacles.

ConnectNodeUsingObstacles(GKGraphNode2D, GKPolygonObstacle[])

Adds the node to the GKGraph, connecting it to its nearest neighbors, avoiding Obstacles except those in obstaclesToIgnore.

ConnectNodeUsingObstacles(GKGraphNode2D)

Adds the node to the GKGraph, connecting it to its nearest neighbors, avoiding Obstacles.

[Foundation.Export("connectNodeUsingObstacles:")]
public virtual void ConnectNodeUsingObstacles (GameplayKit.GKGraphNode2D node);
abstract member ConnectNodeUsingObstacles : GameplayKit.GKGraphNode2D -> unit
override this.ConnectNodeUsingObstacles : GameplayKit.GKGraphNode2D -> unit

Parameters

Attributes

Applies to

ConnectNodeUsingObstacles(GKGraphNode2D, GKPolygonObstacle[])

Adds the node to the GKGraph, connecting it to its nearest neighbors, avoiding Obstacles except those in obstaclesToIgnore.

[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

Parameters

obstaclesToIgnore
GKPolygonObstacle[]
Attributes

Applies to