Changing edge color for a single entity

The following derived Mesh class demonstrate how to change edge color for a single entity.

class MyMesh : Mesh
    public Color EdgeColor = Color.Empty;

    public MyMesh(Mesh another, Color edgeColor) : base(another)
        EdgeColor = edgeColor;

    protected override void DrawEdges(DrawParams data)
Was this article helpful?
2 out of 2 found this helpful
Have more questions? Submit a request


1 comment
  • Excellent 👍

Please sign in to leave a comment.