GKObstacleGraph.GetNodes(GKPolygonObstacle) 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.
Returns the array of GKGraphNode2D corresponding to the obstacle
.
public virtual GameplayKit.GKGraphNode2D[] GetNodes (GameplayKit.GKPolygonObstacle obstacle);
abstract member GetNodes : GameplayKit.GKPolygonObstacle -> GameplayKit.GKGraphNode2D[]
override this.GetNodes : GameplayKit.GKPolygonObstacle -> GameplayKit.GKGraphNode2D[]
Parameters
- obstacle
- GKPolygonObstacle