Documentation

Unity Engine

Unity Engine

Points

Interprets indices as individual points without forming connected geometry.
Read time 1 minuteLast updated 2 months ago

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, ...).