Share via


GKPolygonObstacle.FromPoints(Vector2[]) 方法

定义

用于创建 GKPolygonObstacle 定义的 points的工厂方法。

public static GameplayKit.GKPolygonObstacle FromPoints (OpenTK.Vector2[] points);
static member FromPoints : OpenTK.Vector2[] -> GameplayKit.GKPolygonObstacle

参数

points
Vector2[]

返回

适用于