GKObstacleGraph.ConnectNodeUsingObstacles 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.
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 |
ConnectNodeUsingObstacles(GKGraphNode2D)
[Foundation.Export("connectNodeUsingObstacles:")]
public virtual void ConnectNodeUsingObstacles (GameplayKit.GKGraphNode2D node);
abstract member ConnectNodeUsingObstacles : GameplayKit.GKGraphNode2D -> unit
override this.ConnectNodeUsingObstacles : GameplayKit.GKGraphNode2D -> unit
Parameters
- node
- GKGraphNode2D
- Attributes
Applies to
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
Parameters
- node
- GKGraphNode2D
- obstaclesToIgnore
- GKPolygonObstacle[]
- Attributes