文档

Unity Engine

Unity Engine

UIVertex

Vertex class used by a Canvas for managing vertices.
阅读时间1 分钟最后更新于 1 个月前

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.