文档

Unity Engine

Unity Engine

Color

Vertex color.
阅读时间1 分钟最后更新于 1 个月前

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.