Color
Vertex color.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Field
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
Color = 3
Remarks
Colors usually use the Color32 format. Color32 uses four bytes and is low precision.
This vertex attribute maps to Semantic in the HLSL shading language.
COLORAdditional Resources: Mesh.HasVertexAttribute, Mesh.SetColors.