文档

Unity Engine

Unity Engine

Points

Interprets indices as individual points without forming connected geometry.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
Points = 5

Remarks

Use the
Points
topology to render the vertices as isolated points within a mesh. This topology is particularly useful for creating point clouds, particle systems, and other similar effects.
To more easily map vertices to indices, set the mesh index buffer to an identity sequence, for example (0, 1, 2, 3, ...).