Bearbeiten

Freigeben über


GKObstacleGraph.FromObstacles(GKPolygonObstacle[], Single) Method

Definition

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

Applies to