# Vertex

> Represents a vertex of geometry for drawing content of VisualElement.

## Definition

* **Type:** Struct
* **Namespace:** [UnityEngine.UIElements](/engine/6000.6/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule

```csharp
public struct Vertex
```

## Fields

| Value                                                                                 | Description                      |
| ------------------------------------------------------------------------------------- | -------------------------------- |
| [position](/engine/6000.6/script-reference/unityengine/uielements/vertex/position.md) | Describes the vertex's position. |
| [tint](/engine/6000.6/script-reference/unityengine/uielements/vertex/tint.md)         | A color value for the vertex.    |
| [uv](/engine/6000.6/script-reference/unityengine/uielements/vertex/uv.md)             | The UV coordinate of the vertex. |

## Static Fields

| Value                                                                           | Description                                                                                                                                           |
| ------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- |
| [nearZ](/engine/6000.6/script-reference/unityengine/uielements/vertex/nearz.md) | A special value representing the near clipping plane. Always use this value as the vertex position's z component when building 2D (flat) UI geometry. |

## Static Methods

| Method                                                                                                            | Description                                                                                                                                                                                                                   |
| ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [BarycentricInterpolate](/engine/6000.6/script-reference/unityengine/uielements/vertex/barycentricinterpolate.md) | Interpolates between three vertices using barycentric weights, returning the vertex at that point. Convenience overload that returns the result instead of writing to an out parameter.                                       |
| [Lerp](/engine/6000.6/script-reference/unityengine/uielements/vertex/lerp.md)                                     | Interpolates between two vertices, returning a new vertex a fraction `t` of the way from `a` to `b`. Convenience overload that returns the result instead of writing to an out parameter — handy when the value is temporary. |
