<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/ClothMeshResource/indexCount",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:22RealityFoundationCloth0C12MeshResourceC10indexCountSivp"
  },
  "title" : "indexCount"
}
-->

# indexCount

The number of indices in the mesh.

```
final var indexCount: Int { get }
```

## Discussion

This count will be equal to the number of primitives in the mesh multiplied by the number of vertices
per primitive. For example, a triangular mesh with nine triangles has an index count of 9 ⨉ 3 = 27
indices.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)