Represents a vertex of geometry for drawing content of VisualElement.
| Property | Description |
|---|---|
| nearZ | 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. |
| Property | Description |
|---|---|
| position | Describes the vertex's position. |
| tint | A color value for the vertex. |
| uv | The UV coordinate of the vertex. |
| Method | Description |
|---|---|
| BarycentricInterpolate | Interpolates between three vertices using barycentric weights, writing into result a vertex at an arbitrary point inside (or outside) the triangle they form. |
| Lerp | Interpolates between two vertices, writing into result a new vertex a fraction t of the way from a to b. |