# Eval(BezierSegment, float)

> Evaluates the position on a curve segment.

## Definition

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

```csharp
public static Vector2 Eval(BezierSegment segment, float t)
```

### Parameters

**** (\[BezierSegment]\(/engine/6000.7/script-reference/unity/vectorgraphics/beziersegment)): The curve segment on which to evaluate the position**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): The parametric location on the curve

### Returns

| Type                                                              | Description                                          |
| ----------------------------------------------------------------- | ---------------------------------------------------- |
| [Vector2](/engine/6000.7/script-reference/unityengine/vector2.md) | The position on the curve at parametric location "t" |
