TessellateScene(Scene, TessellationOptions, Dictionary<SceneNode, float>)
Tessellates a Scene object into triangles.
阅读时间1 分钟最后更新于 1 个月前
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 |