FillMesh(Mesh, List<Geometry>, float, bool)
Fills a mesh geometry from a scene tessellation.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
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.