FillMesh(Mesh, List<Geometry>, float, bool)
Fills a mesh geometry from a scene tessellation.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: Unity.VectorGraphics
- Assembly: UnityEngine.VectorGraphicsModule
public static void FillMesh(Mesh mesh, List<VectorUtils.Geometry> geoms, float svgPixelsPerUnit, bool flipYAxis = false)
Parameters
The mesh object to fill
The list of tessellated Geometry instances, generated by TessellateNodeHierarchy
How many SVG "pixels" map into a Unity unit
Set to "true" to have the positive Y axis to go downward.