Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Mesh.colors32

Switch to Manual
public Color32[] colors32;

Description

Vertex colors of the Mesh.

Same as colors, except using Color32 structure is better for performance.

Note: The Mesh.colors32 array has to be modified or created externally from the Mesh. See, for example, the note on the uv page.