Vertex
Represents a vertex of geometry for drawing content of VisualElement.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Struct
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public struct Vertex
Fields
Value | Description |
|---|---|
| position | Describes the vertex's position. |
| tint | A color value for the vertex. |
| uv | The UV coordinate of the vertex. |
Static Fields
Value | 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. |