Version: 2017.3 (switch to 2017.4)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

UIVertex

struct in UnityEngine

Description

Vertex class used by a Canvas for managing vertices.

Static Properties

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

Properties

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.

Did you find this page useful? Please give it a rating: