Quads
Connects indices in groups of four to form quadrilateral faces.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Field
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
Quads = 2
Remarks
Use the topology to construct meshes made of four-sided polygons, where each quad connects four vertices to create a rectangular shape.
QuadsUnity often emulates quad topology, which means it converts quad meshes to triangle topology during processing. For better performance and simplicity, use triangle topology directly. Use quads only when you need to, for example if you work with tessellation shaders that operate on quad patches.