I want to draw Legend on the viewport scripting C#.
Here is my image which is what I want to do.
I want to make Legend’s color depend on the value which my component calculates.
And Legends will not be moved even when I panned and rotate viewport.
I’ve already draw 3Dtext using DrawViewportMeshes.
I think what I want is something to do with DrawViewportmeshes, but I couldn’t find how to get viewport coordinete.
Would there be any way to do this?