Adds new obstacles to the graph.
- iOS 10.0+
- macOS 10.12+
- Mac Catalyst 13.0+
- tvOS 10.0+
An array of obstacle objects to be added to the graph.
Adding or removing obstacles does not update the graph. The
GKMesh class adds, removes, and arranges nodes to describe the navigable areas around obstacles only when you call the
triangulate() method. Typically, you add or remove several obstacles, then call the
triangulate() method to update the graph.