<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/MeshResource/Part",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation12MeshResourceC4PartV"
  },
  "title" : "MeshResource.Part"
}
-->

# MeshResource.Part

A part of a model consisting of a single material.

```
struct Part
```

## Topics

### Initializers

[`init(id: String, materialIndex: Int)`](/documentation/RealityKit/MeshResource/Part/init(id:materialIndex:))

Create a new part.

### Instance Properties

[`var jointInfluences: MeshResource.JointInfluences?`](/documentation/RealityKit/MeshResource/Part/jointInfluences)

A buffer of vertex-joint influences which defines how the mesh deforms in response to the
skeleton that it is bound to. Each vertex may be influenced by one or more joints defined
by the skeleton.

[`var materialIndex: Int`](/documentation/RealityKit/MeshResource/Part/materialIndex)

Material index for the part.

[`var skeletonID: String?`](/documentation/RealityKit/MeshResource/Part/skeletonID)

Identifier of the skeleton that this mesh part is bound to (if it is skinned).

[`var triangleIndices: MeshBuffers.TriangleIndices?`](/documentation/RealityKit/MeshResource/Part/triangleIndices)

Index buffer for triangles.

## Relationships

### Conforms To

[`MeshBufferContainer`](/documentation/RealityKit/MeshBufferContainer)

[`Identifiable`](/documentation/Swift/Identifiable)

---

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)