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
- Host: GitHub
- URL: https://github.com/poke1024/unity-vg-demo
- Owner: poke1024
- Created: 2018-07-27T18:23:03.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2022-02-16T08:08:52.000Z (over 4 years ago)
- Last Synced: 2025-03-29T13:01:28.391Z (about 1 year ago)
- Topics: unity, unity3d, vector-graphics
- Language: C#
- Homepage:
- Size: 43 KB
- Stars: 8
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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...
```
