DeleteVertex(PolygonGeometry, int)
Delete a vertex from the geometry returning a new geometry with updated normals and centroid.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: UnityEngine.LowLevelPhysics2D
- Assembly: UnityEngine.Physics2DModule
public static PolygonGeometry DeleteVertex(PolygonGeometry geometry, int index)
Parameters
Returns
Type | Description |
|---|---|
| PolygonGeometry | The new geometry with the deleted vertex. |