MeshTopology
Topology of Mesh faces.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Enum
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public enum MeshTopology
Remarks
Normally meshes are composed of triangles (three vertex indices per face), but in some cases you might want to render complex things that are made up from lines or points. Creating a Mesh with that topology and using it to render is usually the most efficient way.
Additional Resources: Mesh.SetIndices function.