# SplitSegment(BezierSegment, float, out BezierSegment, out BezierSegment)

> Splits a curve segment at a given parametric location.

## Definition

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

## SplitSegment(BezierSegment, float, BezierSegment, BezierSegment)

```csharp
public static void SplitSegment(BezierSegment segment, float t, out BezierSegment b1, out BezierSegment b2)
```

### Parameters

**** (\[BezierSegment]\(/engine/6000.6/script-reference/unity/vectorgraphics/beziersegment)): The curve segment to split**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): The parametric location at which the segment will be split**** (\[BezierSegment]\(/engine/6000.6/script-reference/unity/vectorgraphics/beziersegment)): The output of the first segment**** (\[BezierSegment]\(/engine/6000.6/script-reference/unity/vectorgraphics/beziersegment)): The output of the second segment
