This will render a plot with all the triangles of the mesh, which only applies when the mesh has color attributes. The first vertex color is used to group the different colors together, which you can see in the legend.
Code isn't the prettiest in the world with all the nested if let statement, but it should be pretty sturdy.
This will render a plot with all the triangles of the mesh, which only applies when the mesh has color attributes. The first vertex color is used to group the different colors together, which you can see in the legend.
Code isn't the prettiest in the world with all the nested
if let
statement, but it should be pretty sturdy.It looks like this: