# ChainSegmentGeometry

> Create a default ChainSegment. See ChainSegmentGeometry.defaultGeometry.

## Definition

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

## ChainSegmentGeometry()

Create a default ChainSegment. See [ChainSegmentGeometry.defaultGeometry](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/chainsegmentgeometry/defaultgeometry.md).

```csharp
public ChainSegmentGeometry()
```

## ChainSegmentGeometry(SegmentGeometry, Vector2, Vector2)

Create a default ChainSegment.

```csharp
public ChainSegmentGeometry(SegmentGeometry segmentGeometry, Vector2 ghost1, Vector2 ghost2)
```

### Parameters

**** (\[SegmentGeometry]\(/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/segmentgeometry)): The segment geometry.**** (\[Vector2]\(/engine/6000.3/script-reference/unityengine/vector2)): The 'ghost' vertex preceding [SegmentGeometry.point1](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/segmentgeometry/point1.md).**** (\[Vector2]\(/engine/6000.3/script-reference/unityengine/vector2)): The 'ghost' vertex following [SegmentGeometry.point2](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/segmentgeometry/point2.md).
