DeleteVertex(PolygonGeometry, int)
Delete a vertex from the geometry returning a new geometry with updated normals and centroid.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public static PolygonGeometry DeleteVertex(PolygonGeometry geometry, int index)
Parameters
Returns
Type | Description |
|---|---|
| PolygonGeometry | The new geometry with the deleted vertex. |