Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


UIVertex

Vertex class used by a Canvas for managing vertices.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Struct
  • Namespace: UnityEngine
  • Assembly: UnityEngine.TextRenderingModule
public struct UIVertex

Fields

Value

Description

colorVertex color.
normalNormal.
positionVertex position.
tangentTangent.
uv0The first texture coordinate set of the mesh. Used by UI elements by default.
uv1The second texture coordinate set of the mesh, if present.
uv2The Third texture coordinate set of the mesh, if present.
uv3The forth texture coordinate set of the mesh, if present.

Static Fields

Value

Description

simpleVertSimple UIVertex with sensible settings for use in the UI system.