# PhysicsShape2D

> Represents an efficient low-level physics shape used by the physics engine.

## Definition

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

```csharp
public struct PhysicsShape2D
```

## Remarks

A [Collider2D](/engine/6000.0/script-reference/unityengine/collider2d.md) is a high-level representation of physics geometry that produces low-level [PhysicsShape2D](/engine/6000.0/script-reference/unityengine/physicsshape2d.md) geometry that the physics engine understands. A [PhysicsShape2D](/engine/6000.0/script-reference/unityengine/physicsshape2d.md) can represent any shape type as defined by [PhysicsShapeType2D](/engine/6000.0/script-reference/unityengine/physicsshapetype2d.md).

Additional Resources: [PhysicsShapeGroup2D](/engine/6000.0/script-reference/unityengine/physicsshapegroup2d.md).

## Properties

| Property                                                                                           | Description                                                                                                                                                                                                                                                                                                            |
| -------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [adjacentEnd](/engine/6000.0/script-reference/unityengine/physicsshape2d/adjacentend.md)           | Defines the position of a virtual point adjacent to the end vertex of an edge shape.                                                                                                                                                                                                                                   |
| [adjacentStart](/engine/6000.0/script-reference/unityengine/physicsshape2d/adjacentstart.md)       | Defines the position of a virtual point adjacent to the start vertex of an edge shape.                                                                                                                                                                                                                                 |
| [radius](/engine/6000.0/script-reference/unityengine/physicsshape2d/radius.md)                     | The radius of the shape.                                                                                                                                                                                                                                                                                               |
| [shapeType](/engine/6000.0/script-reference/unityengine/physicsshape2d/shapetype.md)               | The shape type determines how the vertices and radius are used by this [PhysicsShape2D](/engine/6000.0/script-reference/unityengine/physicsshape2d.md).                                                                                                                                                                |
| [useAdjacentEnd](/engine/6000.0/script-reference/unityengine/physicsshape2d/useadjacentend.md)     | When the value is true, then the shape will use the [adjacentEnd](/engine/6000.0/script-reference/unityengine/physicsshape2d/adjacentend.md) feature. When the value is false, then the shape will not use the [adjacentEnd](/engine/6000.0/script-reference/unityengine/physicsshape2d/adjacentend.md) feature.       |
| [useAdjacentStart](/engine/6000.0/script-reference/unityengine/physicsshape2d/useadjacentstart.md) | When the value is true, then the shape will use the [adjacentStart](/engine/6000.0/script-reference/unityengine/physicsshape2d/adjacentstart.md) feature. When the value is false, then the shape will not use the [adjacentStart](/engine/6000.0/script-reference/unityengine/physicsshape2d/adjacentend.md) feature. |
| [vertexCount](/engine/6000.0/script-reference/unityengine/physicsshape2d/vertexcount.md)           | The total number of vertices used to represent the [shape type](/engine/6000.0/script-reference/unityengine/physicsshape2d/shapetype.md).                                                                                                                                                                              |
| [vertexStartIndex](/engine/6000.0/script-reference/unityengine/physicsshape2d/vertexstartindex.md) | The start index for the geometry of this shape within the [PhysicsShapeGroup2D](/engine/6000.0/script-reference/unityengine/physicsshapegroup2d.md).                                                                                                                                                                   |
