---
title: triangleCount
framework: arkit
role: symbol
role_heading: Instance Property
path: arkit/arfacegeometry/trianglecount
---

# triangleCount

The number of triangles described by the triangleIndices buffer.

## Declaration

```swift
var triangleCount: Int { get }
```

## Discussion

Discussion Each set of three indices forms a triangle, so the number of indices in the triangleIndices buffer is three times the triangleCount value. Face mesh topology is constant across ARFaceGeometry instances, so the value of this property is the same for all instances.

## See Also

### Accessing Mesh Data

- [vertices](arkit/arfacegeometry/vertices-7qq1y.md)
- [textureCoordinates](arkit/arfacegeometry/texturecoordinates-u42d.md)
- [triangleIndices](arkit/arfacegeometry/triangleindices-8isy8.md)
