- Joined
- Nov 19, 2019
- Messages
- 80
Hi,
How do I use Canvas.DrawRect to draw a solid color rectangle? Right now I'm just using a solid color texture, but it would be nice to make it proper.
I'm guessing I'd create a Material. The drawprimitives2 example includes a material, but it has an image instead of a color.
Thanks
...after writing this post I found a solution, so I'm just going to post it and answer it myself for other beginners to find.
How do I use Canvas.DrawRect to draw a solid color rectangle? Right now I'm just using a solid color texture, but it would be nice to make it proper.
I'm guessing I'd create a Material. The drawprimitives2 example includes a material, but it has an image instead of a color.
Thanks
...after writing this post I found a solution, so I'm just going to post it and answer it myself for other beginners to find.