---
title: triangleCount
framework: arkit
role: symbol
role_heading: Instance Property
path: arkit/arplanegeometry/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.

## See Also

### Accessing Mesh Data

- [vertices](arkit/arplanegeometry/vertices-43kle.md)
- [textureCoordinates](arkit/arplanegeometry/texturecoordinates-p801.md)
- [triangleIndices](arkit/arplanegeometry/triangleindices-64epx.md)
