Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


colors32

Vertex colors of the Mesh.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public Color32[] colors32 { get; set; }

Remarks

Same as Mesh.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 Mesh.uv page.