An open API service indexing awesome lists of open source software.

https://github.com/poke1024/unity-vg-demo

Unity Vector Graphics Demo
https://github.com/poke1024/unity-vg-demo

unity unity3d vector-graphics

Last synced: about 1 year ago
JSON representation

Unity Vector Graphics Demo

Awesome Lists containing this project

README

          

A simple wrapper around Unity's new experimental Vector API, letting you draw as if you were inside a HTML5 canvas. Demonstrates basic fills, strokes and fill rules.

For example:

```
m_Graphics.MoveTo(900, 150);
m_Graphics.BezierCurveTo(910, 250, 940, 250, 950, 250);
m_Graphics.LineTo(1000, 150);
m_Graphics.Stroke();

// and so on...

```

![Demo Screen](/Assets/DemoScreen.png)