GKObstacleGraph.AddObstacles(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.
Adds obstacles
to the internal model used for pathfinding.
[Foundation.Export("addObstacles:")]
public virtual void AddObstacles (GameplayKit.GKPolygonObstacle[] obstacles);
abstract member AddObstacles : GameplayKit.GKPolygonObstacle[] -> unit
override this.AddObstacles : GameplayKit.GKPolygonObstacle[] -> unit
Parameters
- obstacles
- GKPolygonObstacle[]
- Attributes