Unity Engine documentation Script Reference UnityEngine UnityEngine.UIElements Vertex Represents a vertex of geometry for drawing content of VisualElement.
Read time 1 minute
Last updated 6 days ago Definition
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.
Static Methods
Method Description BarycentricInterpolate 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 Interpolates between two vertices, returning a new vertex a fraction of the way from to . Convenience overload that returns the result instead of writing to an out parameter — handy when the value is temporary.