/***************************************************/ /**** Public Methods - Mesh ****/ /***************************************************/ public static void RenderRhinoMeshes(RHG.Mesh mesh, Rhino.Display.DisplayPipeline pipeline, DisplayMaterial material) { if (mesh.VertexColors.Count > 0) { pipeline.DrawMeshFalseColors(mesh); } else { pipeline.DrawMeshShaded(mesh, material); } }