TessellateScene(Scene, TessellationOptions, Dictionary<SceneNode, float>)
Tessellates a Scene object into triangles.
Read time 1 minuteLast updated 11 days ago
Definition
- Type: Method
- Namespace: Unity.VectorGraphics
- Assembly: UnityEngine.VectorGraphicsModule
public static List<VectorUtils.Geometry> TessellateScene(Scene scene, VectorUtils.TessellationOptions tessellationOptions, Dictionary<SceneNode, float> nodeOpacities = null)
Parameters
The scene containing the hierarchy to tessellate
The tessellation options
If provided, the resulting node opacities
Returns
Type | Description |
|---|---|
| List<Geometry> | A list of tesselated geometry |