GKObstacleGraph.FromObstacles(GKPolygonObstacle[], Single) 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.
Factory method to create a GKObstacleGraph with the specified obstacles
and bufferRadius
.
[Foundation.Export("graphWithObstacles:bufferRadius:")]
public static GameplayKit.GKObstacleGraph FromObstacles (GameplayKit.GKPolygonObstacle[] obstacles, float bufferRadius);
static member FromObstacles : GameplayKit.GKPolygonObstacle[] * single -> GameplayKit.GKObstacleGraph
Parameters
- obstacles
- GKPolygonObstacle[]
- bufferRadius
- Single
Returns
- Attributes