Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

Introducing the Vector API in Unity 2022.1

$
0
0
This will be a brief overview of the new UI Toolkit Vector API that recently landed in Unity 2022.1

First, a bit of (mesh generation) context:
UI Toolkit already provides the Mesh API which allows drawing custom content into a VisualElement. However, while everything is possible, it is hard to use. The code required to generate a single quad has to allocate vertices and indices, and provide coordinates in a clockwise direction. There is a few way it could not work as expected and it...

Introducing the Vector API in Unity 2022.1

Viewing all articles
Browse latest Browse all 1466670

Trending Articles