# PolygonGeometry.ConvexHull

> A simple convex hull. The hull is not validated by physics so cannot be used directly for shapes.

## Definition

* **Type:** Struct
* **Namespace:** [UnityEngine.LowLevelPhysics2D](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d.md)
* **Assembly:** UnityEngine.Physics2DModule

```csharp
public struct PolygonGeometry.ConvexHull
```

## Fields

| Value                                                                                                            | Description                                                                                                                                            |
| ---------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [vertices](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/polygongeometry/convexhull/vertices.md) | The geometry vertices stored in a [PhysicsShape.ShapeArray](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsshape/shapearray.md). |

## Properties

| Property                                                                                                   | Description                     |
| ---------------------------------------------------------------------------------------------------------- | ------------------------------- |
| [count](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/polygongeometry/convexhull/count.md) | The number of polygon vertices. |

## Methods

| Method                                                                                                                       | Description                                       |
| ---------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------- |
| [AsReadOnlySpan](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/polygongeometry/convexhull/asreadonlyspan.md) | Get the convex-hull vertices as a read-only span. |
| [AsSpan](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/polygongeometry/convexhull/asspan.md)                 | Get the convex-hull vertices as a span.           |
