文档

Unity Engine

Unity Engine

TessellateScene(Scene, TessellationOptions, Dictionary<SceneNode, float>)

Tessellates a Scene object into triangles.
阅读时间1 分钟最后更新于 1 个月前

Definition

public static List<VectorUtils.Geometry> TessellateScene(Scene scene, VectorUtils.TessellationOptions tessellationOptions, Dictionary<SceneNode, float> nodeOpacities = null)

Parameters

scene

The scene containing the hierarchy to tessellate

tessellationOptions

The tessellation options

If provided, the resulting node opacities

Returns

Type

Description

List<Geometry>A list of tesselated geometry