Function MultiMesh.setInstanceColor

Sets the color of a specific instance. For the color to take effect, ensure that colorFormat is non-null on the MultiMesh and SpatialMaterial.vertexColorUseAsAlbedo is true on the material.

void setInstanceColor (
  const(long) instance,
  const(Color) color
) nothrow @nogc;