GKObstacleGraph<NodeType>.FromObstacles Method

Definition

public static GameplayKit.GKObstacleGraph<NodeType> FromObstacles (GameplayKit.GKPolygonObstacle[] obstacles, float bufferRadius);
static member FromObstacles : GameplayKit.GKPolygonObstacle[] * single -> GameplayKit.GKObstacleGraph<'NodeType (requires 'NodeType :> GameplayKit.GKGraphNode2D)>

Parameters

obstacles
GKPolygonObstacle[]
bufferRadius
Single

Returns

Applies to