GKGridGraph.ConnectNodeToAdjacentNodes(GKGridGraphNode) 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.
Adds node
to the GKGraph and connects it to its nearest neighbors.
[Foundation.Export("connectNodeToAdjacentNodes:")]
public virtual void ConnectNodeToAdjacentNodes (GameplayKit.GKGridGraphNode node);
abstract member ConnectNodeToAdjacentNodes : GameplayKit.GKGridGraphNode -> unit
override this.ConnectNodeToAdjacentNodes : GameplayKit.GKGridGraphNode -> unit
Parameters
- node
- GKGridGraphNode
- Attributes
Remarks
This method does not alter the grid. It is intended for placing game GKEntity objects on the grid.