Instance Property

obstacles

The list of obstacle objects in the graph, each of which describes a polygon-shaped impassable area.

Declaration

var obstacles: [GKPolygonObstacle] { get }

See Also

Working with Obstacles

func addObstacles([GKPolygonObstacle])

Adds new obstacles to the graph.

func removeObstacles([GKPolygonObstacle])

Removes the specified obstacle from the graph.