Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


FillMesh(Mesh, List<Geometry>, float, bool)

Fills a mesh geometry from a scene tessellation.
Read time 1 minuteLast updated 10 days ago

Definition

public static void FillMesh(Mesh mesh, List<VectorUtils.Geometry> geoms, float svgPixelsPerUnit, bool flipYAxis = false)

Parameters

mesh

The mesh object to fill

The list of tessellated Geometry instances, generated by TessellateNodeHierarchy

svgPixelsPerUnit

How many SVG "pixels" map into a Unity unit

flipYAxis

Set to "true" to have the positive Y axis to go downward.