# ChainGeometry

> Create the geometry of a Chain using the specified vertices.

## Definition

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

## ChainGeometry(NativeArray\<Vector2>)

Create the geometry of a Chain using the specified vertices.

```csharp
public ChainGeometry(NativeArray<Vector2> vertices)
```

### Parameters

**** (\[NativeArray\<Vector2>]\(/engine/6000.3/script-reference/unity/collections/nativearray1)): The vertices that will create the ChainSegment shapes.

## ChainGeometry(ReadOnlySpan\<Vector2>)

Create the geometry of a chain using the specified vertices.

```csharp
public ChainGeometry(ReadOnlySpan<Vector2> vertices)
```

### Parameters

**** (\[ReadOnlySpan\<Vector2>]\(https\://learn.microsoft.com/dotnet/api/system.readonlyspan-1)): The vertices that will create the ChainSegment shapes.
