triangles
Returns a copy of the array containing Sprite mesh triangles.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public ushort[] triangles { get; }
Remarks
The array is a list of triangles that contains indices into the vertex array.