# BezierPathSegment

> A bezier path segment.

## Definition

* **Type:** Struct
* **Namespace:** [Unity.VectorGraphics](/engine/6000.6/script-reference/unity/vectorgraphics.md)
* **Assembly:** UnityEngine.VectorGraphicsModule

```csharp
public struct BezierPathSegment
```

## Remarks

Like [BezierSegment](/engine/6000.6/script-reference/unity/vectorgraphics/beziersegment.md) but implies connectivity of segments, where `segments[0].P3` is actually `segments[1].P0`.

## Fields

| Value                                                                              | Description                          |
| ---------------------------------------------------------------------------------- | ------------------------------------ |
| [P0](/engine/6000.6/script-reference/unity/vectorgraphics/bezierpathsegment/p0.md) | Origin point of the segment.         |
| [P1](/engine/6000.6/script-reference/unity/vectorgraphics/bezierpathsegment/p1.md) | First control point of the segment.  |
| [P2](/engine/6000.6/script-reference/unity/vectorgraphics/bezierpathsegment/p2.md) | Second control point of the segment. |
