I’m attempting to extract the color data from these meshes.
So far I’ve been able to get the arrays for both the Vector3 points
and their triangles.
I can access the main color of a mesh
private Renderer rend;
[SerializeField] private Color color1;
rend = GetComponent<Renderer>();
numbOfColors = rend.materials.Length;
for (var i = 0; i < numbOfColors; i++)
{
color1 = rend.material.color;
}
But I’m trying to get the other colors.
And as I said, I need to extract the arrays that determine the colors for each triangle.
Anyone have any ideas?