Version: 2020.2
LanguageEnglish
  • C#

UIVertex

struct in UnityEngine

/

Implemented in:UnityEngine.TextRenderingModule

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

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.