Documentation

Unity Engine

Unity Engine

Color

Vertex color.
Read time 1 minuteLast updated 2 months ago

Definition

Color = 3

Remarks

Colors usually use the Color32 format. Color32 uses four bytes and is low precision.
This vertex attribute maps to
COLOR
Semantic in the HLSL shading language.
Additional Resources: Mesh.HasVertexAttribute, Mesh.SetColors.